Pantheon settings.php files. pantheon-systems/drops-8#55.
This commit is contained in:
parent
c8c01bb0d4
commit
80270eca1c
2 changed files with 114 additions and 0 deletions
20
sites/default/settings.php
Executable file
20
sites/default/settings.php
Executable file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Include the Pantheon-specific settings file.
|
||||
*
|
||||
* n.b. The settings.pantheon.php file makes some changes
|
||||
* that affect all envrionments that this site
|
||||
* exists in. Always include this file, even in
|
||||
* a local development environment, to insure that
|
||||
* the site settings remain consistent.
|
||||
*/
|
||||
include __DIR__ . "/settings.pantheon.php";
|
||||
|
||||
/**
|
||||
* If there is a local settings file, then include it
|
||||
*/
|
||||
$local_settings = __DIR__ . "/settings.local.php";
|
||||
if (file_exists($local_settings)) {
|
||||
include $local_settings;
|
||||
}
|
Reference in a new issue