summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;