mirror of
https://github.com/friendica/friendica
synced 2025-05-14 12:24:10 +02:00
Refactoring Logging to use Configuration
This commit is contained in:
parent
eafcf3592d
commit
80f1feabe5
13 changed files with 141 additions and 146 deletions
|
@ -39,7 +39,8 @@ $configLoader = new Cache\ConfigCacheLoader($basedir);
|
|||
$configCache = Factory\ConfigFactory::createCache($configLoader);
|
||||
Factory\DBFactory::init($configCache, $_SERVER);
|
||||
$config = Factory\ConfigFactory::createConfig($configCache);
|
||||
$pconfig = Factory\ConfigFactory::createPConfig($configCache);
|
||||
// needed to call PConfig::init()
|
||||
Factory\ConfigFactory::createPConfig($configCache);
|
||||
$logger = Factory\LoggerFactory::create('daemon', $config);
|
||||
$profiler = Factory\ProfilerFactory::create($logger, $config);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue