Skip to content

Commit

Permalink
Fixed autoload path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Kündig committed Mar 30, 2016
1 parent cdd4cd2 commit 7f483d9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions october
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/usr/bin/env php
<?php
require __DIR__ . '/vendor/autoload.php';

if (file_exists(__DIR__.'/../../autoload.php')) {
require __DIR__.'/../../autoload.php';
} else {
require __DIR__.'/vendor/autoload.php';
}

$app = new Symfony\Component\Console\Application('October CMS Bootstrapper', '0.0.1');
$app->add(new \OFFLINE\Bootstrapper\October\Console\InitCommand);
$app->add(new \OFFLINE\Bootstrapper\October\Console\InstallCommand);
$app->run();
$app->run();

0 comments on commit 7f483d9

Please sign in to comment.