projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12db146
)
Notify.php
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Sep 2013 03:52:12 +0000
(11:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Sep 2013 03:52:12 +0000
(11:52 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
f7cbe57
..
418fc2a
100644
(file)
--- 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..)