1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-30 04:19:30 +01:00

Fix autoloader path in php-parse

Need to go up another directory...
This commit is contained in:
Nikita Popov 2015-09-21 14:57:31 +08:00
parent c8898df3dd
commit fcf23101dd

View File

@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php
foreach ([__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
if (file_exists($file)) {
require $file;
break;