mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
fwd-only flag
This commit is contained in:
parent
6e75b6e4b4
commit
3e521cb8a2
11 changed files with 202 additions and 6 deletions
|
@ -130,8 +130,13 @@ if (!empty($_POST['ok_acc'])) {
|
|||
}
|
||||
unset($output);
|
||||
}
|
||||
// Add fwd_only flag
|
||||
if ((!empty($_POST['v_fwd_only'])) && (empty($_SESSION['error_msg']))) {
|
||||
exec (VESTA_CMD."v-add-mail-account-fwd-only ".$user." ".$v_domain." ".$v_account, $output, $return_var);
|
||||
check_return_code($return_var,$output);
|
||||
unset($output);
|
||||
}
|
||||
}
|
||||
unset($output);
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue