https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
34748e8
)
Merge pull request #7011 from nupplaphil/issue/setlogger_fix
author
Michael Vogel
<icarus@dabo.de>
Wed, 17 Apr 2019 07:52:55 +0000
(09:52 +0200)
committer
GitHub
<noreply@github.com>
Wed, 17 Apr 2019 07:52:55 +0000
(09:52 +0200)
SetLogger fix
src/Factory/DependencyFactory.php
patch
|
blob
|
history
diff --git
a/src/Factory/DependencyFactory.php
b/src/Factory/DependencyFactory.php
index
d089c32
..
aacd155
100644
(file)
--- a/
src/Factory/DependencyFactory.php
+++ b/
src/Factory/DependencyFactory.php
@@
-3,6
+3,7
@@
namespace Friendica\Factory;
use Friendica\App;
+use Friendica\Database\DBA;
use Friendica\Factory;
use Friendica\Util\BasePath;
use Friendica\Util\BaseURL;
@@
-34,6
+35,7
@@
class DependencyFactory
// needed to call PConfig::init()
Factory\ConfigFactory::createPConfig($configCache);
$logger = Factory\LoggerFactory::create($channel, $config, $profiler);
+ DBA::setLogger($logger);
Factory\LoggerFactory::createDev($channel, $config, $profiler);
$baseURL = new BaseURL($config, $_SERVER);