From: Hypolite Petovan Date: Mon, 24 Dec 2018 14:56:48 +0000 (-0500) Subject: Move Composer autoload require out of boot.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ed7bada71eb7e5d1c2953e94abb47b531781306d;p=friendica.git Move Composer autoload require out of boot.php --- diff --git a/bin/auth_ejabberd.php b/bin/auth_ejabberd.php index fc57a74204..e8a7b4963f 100755 --- a/bin/auth_ejabberd.php +++ b/bin/auth_ejabberd.php @@ -49,7 +49,7 @@ $directory = realpath($directory . DIRECTORY_SEPARATOR . ".."); chdir($directory); -require_once "boot.php"; +require dirname(__DIR__) . '/vendor/autoload.php'; $a = new App(dirname(__DIR__)); diff --git a/bin/console.php b/bin/console.php index 9c25279d37..c39df953f2 100755 --- a/bin/console.php +++ b/bin/console.php @@ -1,7 +1,7 @@ #!/usr/bin/env php runFrontend();