mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
global suspend
This commit is contained in:
parent
828d0edd7c
commit
ab7c5e9ce3
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue