Skip to content

Commit

Permalink
some more composer autoloader beauty
Browse files Browse the repository at this point in the history
  • Loading branch information
frickelbruder committed Sep 19, 2016
1 parent 05460d0 commit 25302e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/kickoff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 25302e1

Please sign in to comment.