Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Commit

Permalink
Fix include path in bin/forge
Browse files Browse the repository at this point in the history
  • Loading branch information
svenluijten committed Apr 1, 2017
1 parent 5e5a862 commit 6a6aa06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/forge
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use Sven\ForgeCLI\Commands\Servers;
use Sven\ForgeCLI\Commands\Authorize;
use Sven\ForgeCLI\Commands\Credentials;

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';
}
Expand Down

0 comments on commit 6a6aa06

Please sign in to comment.