Refactoring ConfigCacheLoader methods

This commit is contained in:
Philipp Holzer 2019-02-05 22:27:57 +01:00
parent 104086215c
commit 6a9d73f7d9
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
9 changed files with 56 additions and 57 deletions

View file

@ -387,7 +387,7 @@ class App
Core\Hook::loadHooks();
$loader = new ConfigCacheLoader($this->basePath);
Core\Hook::callAll('load_config', $loader);
$this->config->loadConfigArray($loader->loadAddonConfig(), true);
$this->config->loadConfigArray($loader->loadCoreConfig('addon'), true);
}
$this->loadDefaultTimezone();