diff --git a/bin/phpyacc b/bin/phpyacc index f92ae3d..1ff60dc 100755 --- a/bin/phpyacc +++ b/bin/phpyacc @@ -4,7 +4,7 @@ namespace PhpYacc; use PhpYacc\Grammar\Context; -foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) { +foreach (array(__DIR__ . '/../../../autoload.php', __DIR__ . '/../../vendor/autoload.php', __DIR__ . '/../vendor/autoload.php') as $file) { if (file_exists($file)) { define('COMPOSER_INSTALL', $file);