Sfoglia il codice sorgente

Restore success notification after editing web domain

Related: https://github.com/hestiacp/hestiacp/commit/65e8b73dd356e9748681d30836e1cf19ac195dd2

Related: #1285
Robert Zollner 5 anni fa
parent
commit
56154ebdd7
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      web/edit/web/index.php

+ 2 - 0
web/edit/web/index.php

@@ -813,6 +813,8 @@ if (!empty($_POST['save'])) {
     // Set success message
     // Set success message
     if (empty($_SESSION['error_msg'])) {
     if (empty($_SESSION['error_msg'])) {
         $_SESSION['ok_msg'] = _('Changes has been saved.');
         $_SESSION['ok_msg'] = _('Changes has been saved.');
+        header("Location: /edit/web/?domain=" . $v_domain);
+        exit();
     }
     }
 
 
 }
 }