diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bootstrap.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/bootstrap.php b/lib/bootstrap.php index 48db871c..f1d82c4c 100644 --- a/lib/bootstrap.php +++ b/lib/bootstrap.php @@ -41,3 +41,9 @@ spl_autoload_register(function ($className) { } } }); + +$customConfig = []; +if (file_exists(__DIR__ . '/config.ini.php')) { + $customConfig = parse_ini_file(__DIR__ . '/config.ini.php', true, INI_SCANNER_TYPED); +} +Configuration::loadConfiguration($customConfig, getenv()); |