Pantheon settings.php files. pantheon-systems/drops-8#55.

This commit is contained in:
Greg Anderson 2015-08-17 17:06:59 -07:00
parent c8c01bb0d4
commit 80270eca1c
2 changed files with 114 additions and 0 deletions

20
sites/default/settings.php Executable file
View 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;
}