From 4fc8d03142e67c78d22944089a1ab38ca54fa242 Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Wed, 14 Oct 2015 15:23:53 -0700 Subject: [PATCH] Related to #74: Unify settings.php and default.settings.php. --- sites/default/default.settings.php | 17 ++++++++++++++--- sites/default/settings.php | 29 +++++++++++++++++++++++++---- 2 files changed, 39 insertions(+), 7 deletions(-) diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php index 6a45d2540..130d5dd20 100644 --- a/sites/default/default.settings.php +++ b/sites/default/default.settings.php @@ -669,6 +669,17 @@ * example.org, with all subdomains included. */ +/** + * 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"; + /** * Load local development override configuration, if available. * @@ -679,6 +690,6 @@ * * Keep this code block at the end of this file to take full effect. */ -# if (file_exists(__DIR__ . '/settings.local.php')) { -# include __DIR__ . '/settings.local.php'; -# } +if (file_exists(__DIR__ . '/settings.local.php')) { + include __DIR__ . '/settings.local.php'; +} diff --git a/sites/default/settings.php b/sites/default/settings.php index 9a625fa10..020fbaffd 100755 --- a/sites/default/settings.php +++ b/sites/default/settings.php @@ -1,5 +1,20 @@