From 63210a9f525c9f5372c84cb291f0395f11f445b8 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 9 Jan 2014 09:58:40 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=B0=EC=A0=9C=EB=AA=A8=EB=93=88=20?= =?UTF-8?q?=EC=8B=A4=ED=96=89=EA=B6=8C=ED=95=9C=20=EC=B2=B4=ED=81=AC=20?= =?UTF-8?q?=EB=88=84=EB=9D=BD=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/common.lib.php b/lib/common.lib.php index a0f877cd7..26a9b6758 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2465,6 +2465,21 @@ function module_exec_check($exe, $type) } } break; + case 'pp_cli': + exec($exe.' -h 2>&1', $out); + + if(empty($out)) { + $executable = false; + break; + } + + for($i=0; $i&1', $out);