From: Edward Date: Thu, 22 Jan 2015 08:55:10 +0000 (+0800) Subject: Notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e9ba1c17dae598d3cf77f66097fb31e88d788088 Notify.php --- diff --git a/Notify.php b/Notify.php index b2409811..ed2f64b6 100644 --- a/Notify.php +++ b/Notify.php @@ -313,6 +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(getcwd() . '/'. $sn);exit; $app = $cwd . '/' . basename($_SERVER["SCRIPT_NAME"]) . ' ' . $this->target . '/'. $id; if ($this->force) { $app .= ' -f';