Add the possibility to use a different configuration directory

This commit is contained in:
Philipp
2021-09-11 14:33:26 +02:00
parent c40b3411a7
commit 5702944116
12 changed files with 75 additions and 19 deletions

View File

@@ -352,7 +352,7 @@ class App
$this->profiler->update($this->config);
Core\Hook::loadHooks();
$loader = new ConfigFileLoader($this->getBasePath());
$loader = new ConfigFileLoader($this->getBasePath(), $_SERVER);
Core\Hook::callAll('load_config', $loader);
}