X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fauth_ejabberd.php;h=bf6d069d12bb58f1507f9d9ee6e0c14763c6e08e;hb=5e3a55915d7fdd554d711b2b5b619552a492c090;hp=a6f30d20193275192d808dc5a9f9190d7d5f5e9e;hpb=8f9c0fe14956efbcaf0db9dbfb83222e18e0ab2f;p=friendica.git diff --git a/bin/auth_ejabberd.php b/bin/auth_ejabberd.php index a6f30d2019..bf6d069d12 100755 --- a/bin/auth_ejabberd.php +++ b/bin/auth_ejabberd.php @@ -32,9 +32,8 @@ * */ -use Friendica\App; +use Friendica\Factory; use Friendica\Util\ExAuth; -use Friendica\Util\LoggerFactory; if (sizeof($_SERVER["argv"]) == 0) { die(); @@ -52,9 +51,7 @@ chdir($directory); require dirname(__DIR__) . '/vendor/autoload.php'; -$logger = LoggerFactory::create('auth_ejabberd'); - -$a = new App(dirname(__DIR__), $logger); +$a = Factory\DependencyFactory::setUp('auth_ejabbered', dirname(__DIR__)); if ($a->getMode()->isNormal()) { $oAuth = new ExAuth();