]> git.mxchange.org Git - friendica.git/blobdiff - include/auth_ejabberd.php
Changed documentation
[friendica.git] / include / auth_ejabberd.php
index 3ac72d916aa1896149f32a5eb855f7680fc938c4..9211c5baf091b782119b5da50382ad3e8f7a16b6 100755 (executable)
@@ -32,7 +32,7 @@
  *
  */
 
-die();
+use Friendica\App;
 
 if (sizeof($_SERVER["argv"]) == 0)
        die();
@@ -49,8 +49,9 @@ require_once("boot.php");
 
 global $a, $db;
 
-if (is_null($a))
-       $a = new App;
+if (is_null($a)) {
+       $a = new App(dirname(__DIR__));
+}
 
 if (is_null($db)) {
        @include(".htconfig.php");
@@ -334,4 +335,3 @@ class exAuth {
                        fclose($this->rLogFile);
        }
 }
-?>