Search for config file in both locations
This commit is contained in:
parent
7df68511a5
commit
fc785bbbf6
|
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue