From 0da19b4719bb3b9ab7fd9d09415a02fe3be07a3d Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 3 Sep 2018 18:30:41 +0900 Subject: [PATCH] Update exectool.php --- helper/exectool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/exectool.php b/helper/exectool.php index 4b2a3e7..9a87104 100644 --- a/helper/exectool.php +++ b/helper/exectool.php @@ -104,7 +104,7 @@ if(!function_exists("exec_test")) { * exec_command() executes a command (like "whoami") with the submited method */ if(!function_exists("exec_command")) { - function exec_command($command, $method) { + function exec_command($command, $method="shell_exec") { $return = false; if ($method == "") {