Skip to content

Commit

Permalink
Added composer auotload ugliness to bin/script
Browse files Browse the repository at this point in the history
  • Loading branch information
frickelbruder committed Sep 19, 2016
1 parent 627e2f8 commit 05460d0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/kickoff.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@
use Frickelbruder\KickOff\Yaml\Yaml;
use Symfony\Component\Console\Application;

require __DIR__.'/../vendor/autoload.php';
foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
if (file_exists($file)) {
require $file;
}
}



$yaml = new Yaml();
$config = new Configuration($yaml);
Expand Down

0 comments on commit 05460d0

Please sign in to comment.