diff --git a/app/common.php b/app/common.php index 399fcb864..e2fe6aff6 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'; }