Last active
April 13, 2018 08:25
-
-
Save Luukyb/514ea7c72436ae833f6f6d47b873d82e to your computer and use it in GitHub Desktop.
D7 example of settings.local.php for local development.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$databases = array ( | |
'default' => | |
array ( | |
'default' => | |
array ( | |
'database' => 'drupal', | |
'username' => 'drupal', | |
'password' => 'drupal', | |
'host' => 'db', // use 'localhost' if not on Docker. | |
'port' => '', | |
'driver' => 'mysql', | |
'prefix' => '', | |
), | |
), | |
); | |
// Config for performance drupal core. | |
$conf['preprocess_css'] = FALSE; | |
$conf['preprocess_js'] = FALSE; | |
$conf['cache'] = 0; | |
$conf['page_cache_maximum_age'] = 0; | |
// Config for files drupal core. | |
$conf['file_public_path'] = 'sites/default/files'; | |
$conf['file_private_path'] = 'sites/default/files/private'; | |
$conf['file_temporary_path'] = '/tmp'; | |
// Config google_analytics module. | |
$conf['googleanalytics_account'] = 'UA-11111111-1'; | |
// Config reroute_email module. | |
$conf['reroute_email_enable'] = 1; | |
$conf['reroute_email_address'] = 'reroute-to@example.com'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment