From 7da08f2272be84ca2811d8b8973b10579ccd745c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 16 Jun 2013 21:56:59 +0800 Subject: [PATCH] Notify.php --- Notify.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Notify.php b/Notify.php index 8ac0d450..7e4f65ee 100644 --- a/Notify.php +++ b/Notify.php @@ -265,7 +265,11 @@ class Pman_Core_Notify extends Pman function run($id, $email, $cmdOpts="") { - + static $renice = fase; + if (!$renice) { + require_once 'System.php'; + $renice = System::which('renice'); + } // phpinfo();exit; $tn = tempnam(ini_get('session.save_path'),'stdout') . '.stdout'; -- 2.39.2