fwd-only flag

This commit is contained in:
Serghey Rodin 2013-11-13 11:40:23 +02:00
commit 3e521cb8a2
11 changed files with 202 additions and 6 deletions

View file

@ -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"].":");