Update autoloader.php
This commit is contained in:
parent
609cafc167
commit
562a2fb61f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue