diff --git a/app/exec/app_config.php b/app/exec/app_config.php index b89cf7c2ff..441c499035 100644 --- a/app/exec/app_config.php +++ b/app/exec/app_config.php @@ -32,7 +32,7 @@ $apps[$x]['menu'][0]['uuid'] = '06493580-9131-ce57-23cd-d42d69dd8526'; $apps[$x]['menu'][0]['parent_uuid'] = '594d99c5-6128-9c88-ca35-4b33392cec0f'; $apps[$x]['menu'][0]['category'] = 'internal'; - $apps[$x]['menu'][0]['path'] = '/app/exec/v_exec.php'; + $apps[$x]['menu'][0]['path'] = '/app/exec/exec.php'; $apps[$x]['menu'][0]['groups'][] = 'superadmin'; //permission details diff --git a/app/exec/v_exec.php b/app/exec/v_exec.php index e7446e20a7..a6f0e656cf 100644 --- a/app/exec/v_exec.php +++ b/app/exec/v_exec.php @@ -36,18 +36,16 @@ else { //get the html values and set them as variables if (count($_POST)>0) { - $shell_cmd = trim(check_str($_POST["shell_cmd"])); - $php_cmd = trim(check_str($_POST["php_cmd"])); - $switch_cmd = trim(check_str($_POST["switch_cmd"])); + $shell_cmd = trim($_POST["shell_cmd"]); + $php_cmd = trim($_POST["php_cmd"]); + $switch_cmd = trim($_POST["switch_cmd"]); } //show the header require_once "includes/header.php"; //edit area - echo " \n"; - echo " \n"; - + echo " \n"; echo " "; + echo " });\n"; + echo " "; //show the header echo "
";