summaryrefslogtreecommitdiff
path: root/app/common.php
diff options
context:
space:
mode:
authorPaul Sweeney <psweeney@travelrepublic.co.uk>2018-05-31 21:10:42 +0100
committerFrédéric Guillot <fred@kanboard.net>2018-06-06 15:15:02 -0700
commite2d7e005e13f810ad45654d200d8706bae0f3d4f (patch)
treeb07badc7fffad0c95f5efe42f1c172a25f99d8a1 /app/common.php
parenta97f80446e94abd9c0590b3e39f839d9c37ce99c (diff)
fix config overrides in docker
Diffstat (limited to 'app/common.php')
-rw-r--r--app/common.php4
1 files changed, 2 insertions, 2 deletions
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;