From de274ec5376489dcb9c2898f8b5dffa5fedd8c3a Mon Sep 17 00:00:00 2001 From: Kanat Gailimov Date: Sun, 21 Jul 2019 02:33:56 +0600 Subject: [PATCH] Added another path option to reach autoload.php --- bin/zf-development-mode | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/zf-development-mode b/bin/zf-development-mode index 428803d..828f3c2 100755 --- a/bin/zf-development-mode +++ b/bin/zf-development-mode @@ -13,6 +13,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);