mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
switched to yellow pallete
This commit is contained in:
parent
48cac6166f
commit
ae806ae6b8
22 changed files with 38 additions and 40 deletions
|
@ -17,13 +17,13 @@ if ($_SESSION['user'] == 'admin') {
|
|||
|
||||
// Cancel
|
||||
if (!empty($_POST['back'])) {
|
||||
header("Location: /list/user/");
|
||||
header("Location: /list/web/");
|
||||
}
|
||||
|
||||
// Ok
|
||||
if (!empty($_GET['user'])) {
|
||||
$v_username = escapeshellarg($_GET['user']);
|
||||
exec (VESTA_CMD."v_suspend_user ".$v_username, $output, $return_var);
|
||||
exec (VESTA_CMD."v_suspend_web_domain ".$v_username, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue