From 786e360d0b8a18f6810ff798824c6ae3f5583ec0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 10 Dec 2015 20:01:52 -0500 Subject: Try to load config.php from /data if not available --- app/common.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app') diff --git a/app/common.php b/app/common.php index fe5a7e69..91e24c65 100644 --- a/app/common.php +++ b/app/common.php @@ -16,6 +16,8 @@ if (getenv('DATABASE_URL')) { if (file_exists('config.php')) { require 'config.php'; +} elseif (file_exists('data'.DIRECTORY_SEPARATOR.'config.php')) { + require 'data'.DIRECTORY_SEPARATOR.'config.php'; } require __DIR__.'/constants.php'; -- cgit v1.2.3