1
0
Fork 0

Add the possibility to use a different configuration directory

This commit is contained in:
Philipp Holzer 2021-09-11 14:33:26 +02:00
commit 5702944116
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
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);
}