From e2d7e005e13f810ad45654d200d8706bae0f3d4f Mon Sep 17 00:00:00 2001 From: Paul Sweeney Date: Thu, 31 May 2018 21:10:42 +0100 Subject: fix config overrides in docker --- app/common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/common.php') diff --git a/app/common.php b/app/common.php index a1d42c33..2676fe15 100644 --- a/app/common.php +++ b/app/common.php @@ -15,13 +15,13 @@ if ($dbUrlParser->isEnvironmentVariableDefined()) { define('DB_NAME', $dbSettings['database']); } -$config_file = implode(DIRECTORY_SEPARATOR, array(__DIR__, '..', 'config.php')); +$config_file = implode(DIRECTORY_SEPARATOR, array(__DIR__, '..', 'data', 'config.php')); if (file_exists($config_file)) { require $config_file; } -$config_file = implode(DIRECTORY_SEPARATOR, array(__DIR__, '..', 'data', 'config.php')); +$config_file = implode(DIRECTORY_SEPARATOR, array(__DIR__, '..', 'config.php')); if (file_exists($config_file)) { require $config_file; -- cgit v1.2.3