Commit 79aed5cf authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #18 from acacha/master

Allow using /vendor/autoload.php instead of /../../autoload.php when usi...
parents 4a8483ce 88bf0548
#!/usr/bin/env php
<?php
require __DIR__.'/../../autoload.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('Laravel Installer', '1.2.0');
$app->add(new Laravel\Installer\Console\NewCommand);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment