From 80911ef842fb90245a5058548bb6c499599ede58 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 23 Sep 2013 11:52:12 +0800 Subject: [PATCH] Notify.php --- Notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Notify.php b/Notify.php index f7cbe576..418fc2ae 100644 --- a/Notify.php +++ b/Notify.php @@ -286,7 +286,7 @@ class Pman_Core_Notify extends Pman 1 => array("file", $tn, 'w'), // stdout is a pipe that the child will write to 2 => array("pipe", "w") // stderr is a file to write to ); - $php = $_SERVER["_"]; + $php = $_ENV["_"]; $sn = $_SERVER["SCRIPT_NAME"]; $cwd = $sn[0] == '/' ? dirname($sn) : dirname(realpath(getcwd() . '/'. $sn)); // same as run on.. (so script should end up being same relatively..) -- 2.39.2