Notify.php
authorAlan Knowles <alan@akkbhome.com>
Sun, 10 Apr 2011 07:59:26 +0000 (15:59 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sun, 10 Apr 2011 07:59:26 +0000 (15:59 +0800)
Notify.php

index 9b9163c..cb24a51 100644 (file)
@@ -78,7 +78,7 @@ class Pman_Core_Notify extends Pman
         $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..)
-        $app = $cwd . '/'. basename($_SERVER["SCRIPT_NAME"]) . '  ' . $this->target . '/'. $id;
+        $app = $cwd . '/' . basename($_SERVER["SCRIPT_NAME"]) . '  ' . $this->target . '/'. $id;
         $cmd = $php . ' ' . $app. ' &';
         echo $cmd . "\n";
         $pipe = array();