Skip to content

Commit

Permalink
Fix self-check in fake phar
Browse files Browse the repository at this point in the history
In 7964f40 a variable has been removed in error.

Fix by re-adding it.

Refs:

- 7964f40 Self-check in fake phar
  • Loading branch information
ktomk committed Dec 7, 2016
1 parent 29693ef commit 8e6ea02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@ RECENT CHANGES

1.97.27
-------
* Fix: self-check in fake phar (reported by Liviu Panainte, thanks!)

1.97.26
-------
Expand Down
2 changes: 2 additions & 0 deletions n98-magerun.phar
Expand Up @@ -7,7 +7,9 @@

echo "Info: Magerun has not been downloaded yet, downloading it ...\n";

$url = 'https://files.magerun.net/n98-magerun.phar';
$target = 'n98-magerun.phar';

$old = md5_file($target);
$file = @fopen($url, 'r');
if ($file === false) {
Expand Down

0 comments on commit 8e6ea02

Please sign in to comment.