diff --git a/update.php b/update.php index afe70b903..6e23892e2 100755 --- a/update.php +++ b/update.php @@ -15,30 +15,30 @@ require_once "db-prefs.php"; require_once "update_self.php"; - if (!defined('STDIN')) { + if (!defined('PHP_EXECUTABLE')) + define('PHP_EXECUTABLE', '/usr/bin/php'); + + $op = $argv; + + if (count($argv) == 0 && !defined('STDIN')) { ?>
-