summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/common.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/common.php b/app/common.php
index 399fcb86..e2fe6aff 100644
--- a/app/common.php
+++ b/app/common.php
@@ -16,7 +16,9 @@ if (getenv('DATABASE_URL')) {
if (file_exists('config.php')) {
require 'config.php';
-} elseif (file_exists('data'.DIRECTORY_SEPARATOR.'config.php')) {
+}
+
+if (file_exists('data'.DIRECTORY_SEPARATOR.'config.php')) {
require 'data'.DIRECTORY_SEPARATOR.'config.php';
}