X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fauth_ejabberd.php;h=14ed7b0b2808b1f7bd2f1858aa7ff7654dd9b508;hb=259b99e6e94cd6714e65bb128af9cbe776fd3325;hp=f00615f02be452a4b0e3ae458d903e4c6e13fe71;hpb=d9c817df1a7bf78d00d9184eb903de9093050d32;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(); }