Refactor dynamic App::getMode() to static DI::mode()
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user