File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
588588 cp -f $tmpdir /mail/$domain /$backup_system /$domain .conf $USER_DATA /mail/
589589
590590 # Rebuilding mail config
591- rebuild_mail_domain_conf
591+ v-rebuild-mail-domains $user
592592
593593 domain_idn=$domain
594594 format_domain_idn
@@ -617,6 +617,14 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
617617 -exec chown $exim_user {} \;
618618
619619 done
620+
621+ # Restarting web server
622+ $BIN /v-restart-web
623+ check_result $? " Web restart failed"
624+ if [ ! -z " $PROXY_SYSTEM " ]; then
625+ $BIN /v-restart-proxy
626+ check_result $? " Proxy restart failed"
627+ fi
620628fi
621629
622630# Restoring databases
Original file line number Diff line number Diff line change 715715 // Set success message
716716 if (empty ($ _SESSION ['error_msg ' ])) {
717717 $ _SESSION ['ok_msg ' ] = __ ('Changes has been saved. ' );
718+ header ("Location: /edit/web/?domain= " . $ v_domain );
718719 }
719720
720721}
You can’t perform that action at this time.
0 commit comments