]> git.mxchange.org Git - friendica.git/blobdiff - bin/auth_ejabberd.php
Move is_a_date_arg to DateTimeFormat::isYearMonth
[friendica.git] / bin / auth_ejabberd.php
index 206e484470058bff0aa98c3625f2f47b4f29e0e4..5ccdd0174bb5068cea5d3716ca5903e6241e4825 100755 (executable)
@@ -36,6 +36,7 @@ use Dice\Dice;
 use Friendica\App\Mode;
 use Friendica\BaseObject;
 use Friendica\Util\ExAuth;
+use Psr\Log\LoggerInterface;
 
 if (sizeof($_SERVER["argv"]) == 0) {
        die();
@@ -54,6 +55,8 @@ chdir($directory);
 require dirname(__DIR__) . '/vendor/autoload.php';
 
 $dice = (new Dice())->addRules(include __DIR__ . '/../static/dependencies.config.php');
+$dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['auth_ejabberd']]);
+
 BaseObject::setDependencyInjection($dice);
 
 $appMode = $dice->create(Mode::class);