removing single quote from escapeshellarg calls

This commit is contained in:
Serghey Rodin 2019-04-15 10:51:40 +03:00
commit ab95d5d88d
3 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@ if (empty($_GET['domain'])){
render_page($user, $TAB, 'list_dns');
} else {
exec (VESTA_CMD."v-list-dns-records '".$user."' '".escapeshellarg($_GET['domain'])."' 'json'", $output, $return_var);
exec (VESTA_CMD."v-list-dns-records ".$user." ".escapeshellarg($_GET['domain'])." json", $output, $return_var);
$data = json_decode(implode('', $output), true);
$data = array_reverse($data, true);
unset($output);