Notify.php
authorEdward <edward@roojs.com>
Thu, 22 Jan 2015 08:52:07 +0000 (16:52 +0800)
committerEdward <edward@roojs.com>
Thu, 22 Jan 2015 08:52:07 +0000 (16:52 +0800)
Notify.php

index 8fe8d77..7b7401c 100644 (file)
@@ -313,7 +313,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..)
-        print_R($cwd);exit;
+        print_R($sn);exit;
         $app = $cwd . '/' . basename($_SERVER["SCRIPT_NAME"]) . '  ' . $this->target . '/'. $id;
         if ($this->force) {
             $app .= ' -f';