global suspend

This commit is contained in:
Serghey Rodin 2015-10-21 19:29:31 +03:00
commit ab7c5e9ce3

View file

@ -21,10 +21,11 @@ if (!empty($_GET['user'])) {
$user=$_GET['user'];
}
if (!empty($_GET['domain'])) {
$v_username = escapeshellarg($user);
$v_domain = escapeshellarg($_GET['domain']);
exec (VESTA_CMD."v-suspend-web-domain ".$v_username." ".$v_domain, $output, $return_var);
exec (VESTA_CMD."v-suspend-domain ".$v_username." ".$v_domain, $output, $return_var);
}
check_return_code($return_var,$output);
unset($output);