From 3a97251d99eb341ef00bfdceca45deccaff9502e Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 22 Jan 2015 16:52:07 +0800 Subject: [PATCH] Notify.php --- Notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Notify.php b/Notify.php index 8fe8d778..7b7401ca 100644 --- a/Notify.php +++ b/Notify.php @@ -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'; -- 2.39.2