adding parameter to App
authorPhilipp Holzer <admin@philipp.info>
Sat, 16 Feb 2019 22:18:24 +0000 (23:18 +0100)
committerPhilipp Holzer <admin@philipp.info>
Sat, 16 Feb 2019 22:18:24 +0000 (23:18 +0100)
bin/auth_ejabberd.php
bin/console.php
bin/daemon.php
bin/worker.php
index.php

index 8a5c43c..cc25176 100755 (executable)
@@ -58,7 +58,7 @@ $basedir = BasePath::create(dirname(__DIR__), $_SERVER);
 $configLoader = new Config\ConfigCacheLoader($basedir);
 $config = Factory\ConfigFactory::createCache($configLoader);
 $logger = Factory\LoggerFactory::create('auth_ejabberd', $config);
-$profiler = Factory\ProfilerFactory::create($config);
+$profiler = Factory\ProfilerFactory::create($logger, $config);
 
 $a = new App($config, $logger, $profiler);
 
index ceccfc8..757af31 100755 (executable)
@@ -11,7 +11,7 @@ $basedir = BasePath::create(dirname(__DIR__), $_SERVER);
 $configLoader = new Config\ConfigCacheLoader($basedir);
 $config = Factory\ConfigFactory::createCache($configLoader);
 $logger = Factory\LoggerFactory::create('console', $config);
-$profiler = Factory\ProfilerFactory::create($config);
+$profiler = Factory\ProfilerFactory::create($logger, $config);
 
 $a = new Friendica\App($config, $logger, $profiler);
 \Friendica\BaseObject::setApp($a);
index 3b5c04b..da4bc19 100755 (executable)
@@ -37,7 +37,7 @@ $basedir = BasePath::create(dirname(__DIR__), $_SERVER);
 $configLoader = new Config\ConfigCacheLoader($basedir);
 $config = Factory\ConfigFactory::createCache($configLoader);
 $logger = Factory\LoggerFactory::create('daemon', $config);
-$profiler = Factory\ProfilerFactory::create($config);
+$profiler = Factory\ProfilerFactory::create($logger, $config);
 
 $a = new App($config, $logger, $profiler);
 
index c93abaf..9b396c6 100755 (executable)
@@ -35,7 +35,7 @@ $basedir = BasePath::create(dirname(__DIR__), $_SERVER);
 $configLoader = new Config\ConfigCacheLoader($basedir);
 $config = Factory\ConfigFactory::createCache($configLoader);
 $logger = Factory\LoggerFactory::create('worker', $config);
-$profiler = Factory\ProfilerFactory::create($config);
+$profiler = Factory\ProfilerFactory::create($logger, $config);
 
 $a = new App($config, $logger, $profiler);
 
index d8c233b..216fbe9 100644 (file)
--- a/index.php
+++ b/index.php
@@ -19,7 +19,7 @@ $basedir = BasePath::create(__DIR__, $_SERVER);
 $configLoader = new Config\ConfigCacheLoader($basedir);
 $config = Factory\ConfigFactory::createCache($configLoader);
 $logger = Factory\LoggerFactory::create('index', $config);
-$profiler = Factory\ProfilerFactory::create($config);
+$profiler = Factory\ProfilerFactory::create($logger, $config);
 
 // We assume that the index.php is called by a frontend process
 // The value is set to "true" by default in App