mirror of
https://github.com/friendica/friendica
synced 2025-05-17 06:24:10 +02:00
[rendertime] Timing problem during addon config read
This commit is contained in:
parent
2d91d5c3d9
commit
3aae84edd1
2 changed files with 19 additions and 2 deletions
|
@ -358,10 +358,15 @@ class App
|
|||
$this->getMode()->determine($this->basePath);
|
||||
|
||||
if ($this->getMode()->has(App\Mode::DBAVAILABLE)) {
|
||||
Core\Hook::loadHooks();
|
||||
$loader = new ConfigCacheLoader($this->basePath);
|
||||
Core\Hook::callAll('load_config', $loader);
|
||||
$this->config->getCache()->load($loader->loadCoreConfig('addon'), true);
|
||||
|
||||
$this->profiler->update(
|
||||
$this->config->get('system', 'profiler', false),
|
||||
$this->config->get('rendertime', 'callstack', false));
|
||||
|
||||
Core\Hook::loadHooks();
|
||||
Core\Hook::callAll('load_config', $loader);
|
||||
}
|
||||
|
||||
$this->loadDefaultTimezone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue