Skip to content

Commit

Permalink
Fixes #1 : added another path option to reach autoload.php
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
  • Loading branch information
samsonasik committed Aug 3, 2020
1 parent 5d46743 commit a21c8c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/laminas-development-mode
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ if (file_exists($a = __DIR__ . '/../../../autoload.php')) {
require $a;
} elseif (file_exists($a = __DIR__ . '/../vendor/autoload.php')) {
require $a;
} elseif (file_exists($a = __DIR__ . '/../autoload.php')) {
require $a;
} else {
fwrite(STDERR, 'Cannot locate autoloader; please run "composer install"' . PHP_EOL);
exit(1);
Expand Down

0 comments on commit a21c8c5

Please sign in to comment.