Update exec.php

This commit is contained in:
FusionPBX 2019-08-15 10:30:18 -06:00 committed by GitHub
parent 20dbc70993
commit 0cd7f5a461
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@
switch ($handler) { switch ($handler) {
case 'shell': case 'shell':
if (permission_exists('exec_command') && $command_authorized) { if (permission_exists('exec_command') && $command_authorized) {
$result = escape(shell_exec($command . " 2>&1")); $result = shell_exec($command . " 2>&1");
} }
break; break;
case 'php': case 'php':