X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fauth_ejabberd.php;h=14ed7b0b2808b1f7bd2f1858aa7ff7654dd9b508;hb=15bc1ac8a18924551c8af772c07e5fed9c75023b;hp=f00615f02be452a4b0e3ae458d903e4c6e13fe71;hpb=713552c39f89582dd8f42e72b9d776ba8e7972d5;p=friendica.git diff --git a/bin/auth_ejabberd.php b/bin/auth_ejabberd.php index f00615f02b..14ed7b0b28 100755 --- a/bin/auth_ejabberd.php +++ b/bin/auth_ejabberd.php @@ -1,7 +1,7 @@ #!/usr/bin/env php addRules(include __DIR__ . '/../static/dependencies.config $dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['auth_ejabberd']]); \Friendica\DI::init($dice); - +\Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class)); $appMode = $dice->create(Mode::class); if ($appMode->isNormal()) { - $oAuth = new ExAuth(); + /** @var ExAuth $oAuth */ + $oAuth = $dice->create(ExAuth::class); $oAuth->readStdin(); }