Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Commit e904935

Browse files
committed
revert bootstrap. Fix #147
1 parent 3402529 commit e904935

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
return file_exists($file) ? include $file : false;
1414
};
1515

16-
if (!$loader = $includeIfExists(__DIR__ . '/../vendor/autoload.php')) {
16+
if ((!$loader = $includeIfExists(__DIR__ . '/../vendor/autoload.php')) && (!$loader = $includeIfExists(__DIR__ . '/../../../autoload.php'))) {
1717
$error = 'You must set up the project dependencies, run the following commands:' . PHP_EOL .
1818
'curl -sS https://getcomposer.org/installer | php' . PHP_EOL .
1919
'php composer.phar install' . PHP_EOL;

0 commit comments

Comments
 (0)