diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-22 22:22:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-22 22:22:46 +0000 |
commit | a8b10422d7302e8003d657ccc04f3f77c8b16ac6 (patch) | |
tree | ad0a36770b73510d4a30fc22ffb1f50556ebf770 /usr/local/www/system_advanced.php | |
parent | ff598ca2c949ff1aa9fd0015c4addc6958477936 (diff) | |
download | pfsense-a8b10422d7302e8003d657ccc04f3f77c8b16ac6.zip pfsense-a8b10422d7302e8003d657ccc04f3f77c8b16ac6.tar.gz |
Flush output correctly when restarting webConfigurator.
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-x | usr/local/www/system_advanced.php | 5 |
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 |