diff --git a/bin/kickoff.php b/bin/kickoff.php index 33c5ef5..270c033 100644 --- a/bin/kickoff.php +++ b/bin/kickoff.php @@ -8,9 +8,10 @@ use Frickelbruder\KickOff\Yaml\Yaml; use Symfony\Component\Console\Application; -foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) { +foreach (array(__DIR__ . '/../../../autoload.php', __DIR__ . '/../../autoload.php', __DIR__ . '/../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) { if (file_exists($file)) { require $file; + break; } }