Commit 71ff705e authored by Ad Schellevis's avatar Ad Schellevis

move reload gui event to background thread

parent b96e0277
...@@ -160,7 +160,7 @@ if ($_POST['resetlogs'] == gettext("Reset Log Files")) { ...@@ -160,7 +160,7 @@ if ($_POST['resetlogs'] == gettext("Reset Log Files")) {
ob_flush(); ob_flush();
flush(); flush();
log_error(gettext("webConfigurator configuration has changed. Restarting webConfigurator.")); log_error(gettext("webConfigurator configuration has changed. Restarting webConfigurator."));
send_event("service restart webgui"); send_event("&service restart webgui");
$savemsg .= "<br />" . gettext("WebGUI process is restarting."); $savemsg .= "<br />" . gettext("WebGUI process is restarting.");
} }
......
...@@ -615,7 +615,7 @@ if ($restart_webgui) { ...@@ -615,7 +615,7 @@ if ($restart_webgui) {
ob_flush(); ob_flush();
flush(); flush();
log_error(gettext("webConfigurator configuration has changed. Restarting webConfigurator.")); log_error(gettext("webConfigurator configuration has changed. Restarting webConfigurator."));
send_event("service restart webgui"); send_event("&service restart webgui");
} }
?> ?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment