mirror of
https://github.com/friendica/friendica
synced 2025-04-22 05:10:10 +00:00
Moving Profiling to class
This commit is contained in:
parent
4810ca570f
commit
25b6db6aca
9 changed files with 214 additions and 481 deletions
|
@ -30,7 +30,7 @@ class DependencyFactory
|
|||
$config = Factory\ConfigFactory::createConfig($configCache);
|
||||
// needed to call PConfig::init()
|
||||
Factory\ConfigFactory::createPConfig($configCache);
|
||||
$logger = Factory\LoggerFactory::create($channel, $config);
|
||||
$logger = Factory\LoggerFactory::create($channel, $config, $profiler);
|
||||
Factory\LoggerFactory::createDev($channel, $config);
|
||||
|
||||
return new App($basePath, $config, $logger, $profiler, $isBackend);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue