Created
September 4, 2017 19:04
-
-
Save radimklaska/8130be9f562316f65ec7ef4e68755b95 to your computer and use it in GitHub Desktop.
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
diff --git a/settings/blt.settings.php b/settings/blt.settings.php | |
index c8ef4d2..5959b88 100644 | |
--- a/settings/blt.settings.php | |
+++ b/settings/blt.settings.php | |
@@ -59,8 +59,13 @@ | |
******************************************************************************/ | |
if ($is_ah_env) { | |
- if (!$is_acsf && file_exists('/var/www/site-php') && $site_dir == 'default') { | |
- require "/var/www/site-php/{$_ENV['AH_SITE_GROUP']}/{$_ENV['AH_SITE_GROUP']}-settings.inc"; | |
+ if (!$is_acsf && file_exists('/var/www/site-php')) { | |
+ if ($site_dir == 'default') { | |
+ require "/var/www/site-php/{$_ENV['AH_SITE_GROUP']}/{$_ENV['AH_SITE_GROUP']}-settings.inc"; | |
+ } | |
+ else { | |
+ require "/var/www/site-php/{$_ENV['AH_SITE_GROUP']}/$site_dir-settings.inc"; | |
+ } | |
} | |
// Store API Keys and things outside of version control. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment