Skip to content

Commit

Permalink
Fix for last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hparadiz committed May 21, 2018
1 parent a1b66d7 commit 484c671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/divergence
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ define('DIVERGENCE_START', microtime(true));
if (file_exists(dirname(__DIR__).'/vendor/autoload.php')) { // attempt local vendor directory first
require(dirname(__DIR__).'/vendor/autoload.php');
}
elseif (dirname(dirname(dirname(__DIR__))).'/vendor/autoload.php') { // global installation
require(dirname(dirname(dirname(__DIR__))).'/vendor/autoload.php');
elseif (dirname(dirname(dirname(__DIR__))).'/autoload.php') { // global installation
require(dirname(dirname(dirname(__DIR__))).'/autoload.php');
}
else {
echo "Can't find the vendor directory!\n";
Expand Down

0 comments on commit 484c671

Please sign in to comment.