summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-22 22:22:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-22 22:22:46 +0000
commita8b10422d7302e8003d657ccc04f3f77c8b16ac6 (patch)
treead0a36770b73510d4a30fc22ffb1f50556ebf770 /usr/local/www/system_advanced.php
parentff598ca2c949ff1aa9fd0015c4addc6958477936 (diff)
downloadpfsense-a8b10422d7302e8003d657ccc04f3f77c8b16ac6.zip
pfsense-a8b10422d7302e8003d657ccc04f3f77c8b16ac6.tar.gz
Flush output correctly when restarting webConfigurator.
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-xusr/local/www/system_advanced.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 29220b3..49c838a 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -681,7 +681,10 @@ if ($_POST) {
if (($config['system']['webgui']['certificate'] != $oldcert)
|| ($config['system']['webgui']['private-key'] != $oldkey)) {
ob_flush();
+ flush();
+ log_error("webConfigurator certificates have changed. Restarting webConfigurator.");
+ sleep(1);
touch("/tmp/restart_webgui");
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud