mirror of
https://github.com/friendica/friendica
synced 2025-04-25 21:50:12 +00:00
Refactor dynamic App::getMode() to static DI::mode()
This commit is contained in:
parent
181529f3df
commit
9cec293ccc
6 changed files with 13 additions and 21 deletions
|
@ -111,7 +111,7 @@ class Summary extends BaseAdminModule
|
|||
}
|
||||
|
||||
// check legacy basepath settings
|
||||
$configLoader = new ConfigFileLoader($a->getBasePath(), $a->getMode());
|
||||
$configLoader = new ConfigFileLoader($a->getBasePath());
|
||||
$configCache = new Config\Cache\ConfigCache();
|
||||
$configLoader->setupCache($configCache);
|
||||
$confBasepath = $configCache->get('system', 'basepath');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue