Skip to content

Commit

Permalink
Merge pull request #26 from kschroeder/develop
Browse files Browse the repository at this point in the history
Stupid different vendor directory
  • Loading branch information
kschroeder authored Feb 17, 2017
2 parents 8a88076 + 0af3d69 commit 39c8ea8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion bin/magium-configuration
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
#!/usr/bin/env php
<?php

require __DIR__.'/../vendor/autoload.php';
$autoload = [
realpath(__DIR__.'/../vendor/autoload.php'),
realpath(__DIR__.'/../../../vendor/autoload.php'),
];

foreach ($autoload as $item) {
if ($item !== false) {
require_once $item;
break;
}
}

$application = new \Symfony\Component\Console\Application();
$commandList = new \Magium\Configuration\Console\Symfony\CommandList();
Expand Down

0 comments on commit 39c8ea8

Please sign in to comment.