diff --git a/Controller/UpdateController.php b/Controller/UpdateController.php index f8d3aaf..532b98e 100644 --- a/Controller/UpdateController.php +++ b/Controller/UpdateController.php @@ -119,7 +119,7 @@ class UpdateController echo "Highest Stable Version: $highestStableVersion" . PHP_EOL; if (!$this->dryRun) { - echo "Installed Version: $installedVersion" . PHP_EOL; + echo 'Installed Version: '. $this->installedVersion . PHP_EOL; } [$major, $minor, $patch] = explode(separator: '.', string: $stableVersions[$highestStableVersion]['current']); diff --git a/README.md b/README.md index 812ceeb..4072493 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Then: Install composer (https://getcomposer.org/download/) and run `composer install` followed by: -`php update.php` +`php update.php` or `/update.php` If you are using KeyHelp, replace diff --git a/update.php b/update.php index dc4f983..0d0c9d1 100755 --- a/update.php +++ b/update.php @@ -1,4 +1,4 @@ -#!/usr/bin/keyhelp-php81 -d apc.enable_cli=1 +#!/usr/bin/env php