Created
April 1, 2015 08:19
-
-
Save el22or/9b2d1d17a0aed1cccc59 to your computer and use it in GitHub Desktop.
Drupal local settings
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 | |
/** | |
* @file | |
* Drupal development-specific configuration file. | |
*/ | |
$databases['default']['default'] = array( | |
'driver' => 'mysql', | |
'database' => 'DBNAME', | |
'username' => 'DBUSER', | |
'password' => 'DBPASS', | |
'host' => 'localhost', | |
'prefix' => '', | |
); | |
// Stage file proxy configuration. | |
$conf['stage_file_proxy_origin'] = urldecode('http%3a%2f%2fREMOTE_HOST%2f'); | |
// Base URL. | |
$base_url = 'http://localhost'; | |
if (!empty($_SERVER['USER_AGENT'])) { | |
$base_url = 'http://' . $_SERVER['SERVER_NAME']; | |
} |
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 | |
/** | |
* Load local development override configuration, if available. | |
* | |
* Use settings.local.php to override variables on secondary (staging, | |
* development, etc) installations of this site. Typically used to disable | |
* caching, JavaScript/CSS compression, re-routing of outgoing e-mails, and | |
* other things that should not happen on development and testing sites. | |
* | |
* Keep this code block at the end of this file to take full effect. | |
*/ | |
if (file_exists(dirname(__FILE__) . '/settings.local.php')) { | |
include(dirname(__FILE__) . '/settings.local.php'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment