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 == "") {