mirror of
https://github.com/SrIzan10/kanboard.git
synced 2026-05-01 10:45:29 +00:00
Search for config file in both locations
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user