Merge pull request #6850 from MrPetovan/bug/fatal-errors
Fix fatal error when using Logger::devLog
This commit is contained in:
commit
d311f99a2b
|
@ -31,6 +31,7 @@ class DependencyFactory
|
||||||
// needed to call PConfig::init()
|
// needed to call PConfig::init()
|
||||||
Factory\ConfigFactory::createPConfig($configCache);
|
Factory\ConfigFactory::createPConfig($configCache);
|
||||||
$logger = Factory\LoggerFactory::create($channel, $config);
|
$logger = Factory\LoggerFactory::create($channel, $config);
|
||||||
|
Factory\LoggerFactory::createDev($channel, $config);
|
||||||
|
|
||||||
return new App($basePath, $config, $logger, $profiler, $isBackend);
|
return new App($basePath, $config, $logger, $profiler, $isBackend);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user