1
0
Fork 0
mirror of synced 2025-04-10 04:21:01 +00:00

Update autoloader.php

This commit is contained in:
Alex Lushpai 2019-05-14 12:11:46 +03:00 committed by GitHub
parent 609cafc167
commit 562a2fb61f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,9 +8,9 @@ use Composer\Autoload\ClassLoader;
* @var ClassLoader $loader
*/
$autoloadFile = file_exist(__DIR__ . '/../vendor/autoload.php')
$autoloadFile = file_exists(__DIR__ . '/../vendor/autoload.php')
? __DIR__ . '/../vendor/autoload.php'
: __DIR__ . '/../../../autoload.php'
: __DIR__ . '/../../../autoload.php';
$loader = require $autoloadFile;