X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fauth_ejabberd.php;h=e8a7b4963f629b8b9c31c4ca09c5d5e866776171;hb=a3c1beb265ec91a504ac4ee2ba1343122e6c66ae;hp=55917bf6d906e8cb7f55b9d7ca0f65a01bc4d825;hpb=3564daf24dd66c6eeba2ef86722a7c80b076e3fa;p=friendica.git diff --git a/bin/auth_ejabberd.php b/bin/auth_ejabberd.php index 55917bf6d9..e8a7b4963f 100755 --- a/bin/auth_ejabberd.php +++ b/bin/auth_ejabberd.php @@ -49,12 +49,11 @@ $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__)); -if (App\Mode::isNormal()) { +if ($a->getMode()->isNormal()) { $oAuth = new ExAuth(); $oAuth->readStdin(); -} \ No newline at end of file +}