From fc785bbbf6cc7db01964ae1d99cd02e85afeedc2 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 6 Feb 2016 12:42:13 -0500 Subject: Search for config file in both locations --- app/common.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'; } -- cgit v1.2.3