Skip to content

Commit

Permalink
Fix composer autoloader path
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Nov 26, 2019
1 parent b1bf3fb commit f3db3f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/laravel
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env php
<?php

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

$app = new Symfony\Component\Console\Application('Laravel Installer', '3.0.0');
Expand Down

0 comments on commit f3db3f3

Please sign in to comment.