diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c9ddee59..8c2f70bee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ RECENT CHANGES 1.97.27 ------- +* Fix: self-check in fake phar (reported by Liviu Panainte, thanks!) 1.97.26 ------- diff --git a/n98-magerun.phar b/n98-magerun.phar index a693f0cb8..e064261a2 100755 --- a/n98-magerun.phar +++ b/n98-magerun.phar @@ -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) {