Better soultion for DKIM DNS reloading

This commit is contained in:
dpeca 2016-12-28 15:04:51 +01:00
commit 073c0164f1
2 changed files with 2 additions and 5 deletions

View file

@ -126,7 +126,7 @@ if (!empty($_POST['ok'])) {
// Add DNS domain
if (($_POST['v_dns'] == 'on') && (empty($_SESSION['error_msg']))) {
exec (VESTA_CMD."v-add-dns-domain ".$user." ".$v_domain." ".$v_public_ip, $output, $return_var);
exec (VESTA_CMD."v-add-dns-domain ".$user." ".$v_domain." ".$v_public_ip." '' '' '' '' '' '' '' '' 'no'", $output, $return_var);
check_return_code($return_var,$output);
unset($output);
}