mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:10:11 +00:00
Some improvements
- Move $_SERVER into ConfigFileManager constructor - Rename "creatConfigFileLoader" to "createConfigFileManager" - Rename variable "loader" to "manager" in all tests
This commit is contained in:
parent
b4096251ba
commit
cdd57275eb
12 changed files with 134 additions and 125 deletions
|
@ -154,7 +154,7 @@ class Summary extends BaseAdmin
|
|||
}
|
||||
|
||||
// check legacy basepath settings
|
||||
$configLoader = (new Config())->createConfigFileLoader($a->getBasePath(), $_SERVER);
|
||||
$configLoader = (new Config())->createConfigFileManager($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