Skip to content

Commit

Permalink
Merge pull request #4 from prilka/phar-absolute-path
Browse files Browse the repository at this point in the history
Use absolute path to phar-file
  • Loading branch information
veewee authored Jan 9, 2020
2 parents 0d94019 + 4f89677 commit e0e7eda
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions grumphp
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ if (!in_array('phar', stream_get_wrappers(), true)) {
);
}

require 'phar://grumphp.phar/.box/bin/check-requirements.php';
require 'phar://grumphp.phar/bin/grumphp';

$phar = __DIR__ . '/grumphp.phar';

require "phar://$phar/.box/bin/check-requirements.php";
require "phar://$phar/bin/grumphp";

0 comments on commit e0e7eda

Please sign in to comment.