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
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
12 changed files with 75 additions and 19 deletions

View file

@ -151,7 +151,7 @@ class Summary extends BaseAdmin
}
// check legacy basepath settings
$configLoader = new ConfigFileLoader($a->getBasePath());
$configLoader = new ConfigFileLoader($a->getBasePath(), $_SERVER);
$configCache = new Cache();
$configLoader->setupCache($configCache);
$confBasepath = $configCache->get('system', 'basepath');