mirror of
https://github.com/friendica/friendica
synced 2025-04-24 02:30:13 +00:00
Add the possibility to use a different configuration directory
This commit is contained in:
parent
c40b3411a7
commit
5702944116
12 changed files with 75 additions and 19 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue