X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fauth_ejabberd.php;h=bf6d069d12bb58f1507f9d9ee6e0c14763c6e08e;hb=5e3a55915d7fdd554d711b2b5b619552a492c090;hp=1f03b94af90017fb164221b2d6eab38a5d391aa9;hpb=3bccaccede0c39b451e23bfdcdbdcadfd5368f53;p=friendica.git diff --git a/bin/auth_ejabberd.php b/bin/auth_ejabberd.php index 1f03b94af9..bf6d069d12 100755 --- a/bin/auth_ejabberd.php +++ b/bin/auth_ejabberd.php @@ -32,7 +32,7 @@ * */ -use Friendica\App; +use Friendica\Factory; use Friendica\Util\ExAuth; if (sizeof($_SERVER["argv"]) == 0) { @@ -49,10 +49,9 @@ $directory = realpath($directory . DIRECTORY_SEPARATOR . ".."); chdir($directory); -require_once "boot.php"; -require_once "include/dba.php"; +require dirname(__DIR__) . '/vendor/autoload.php'; -$a = new App(dirname(__DIR__)); +$a = Factory\DependencyFactory::setUp('auth_ejabbered', dirname(__DIR__)); if ($a->getMode()->isNormal()) { $oAuth = new ExAuth();