summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-11 20:55:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-11 20:55:51 +0000
commit55ab363d155a0276962cbbb8def488844fc0629a (patch)
tree0a685ea751b85ff5ee5c724694689a7dd6394231 /usr/local
parent73ef871b3a113c7ce009672b93aa996bebb1d4be (diff)
downloadpfsense-55ab363d155a0276962cbbb8def488844fc0629a.zip
pfsense-55ab363d155a0276962cbbb8def488844fc0629a.tar.gz
While updating the client with state count, memory usage, etc, check for new notices. If a new notice is found, redirect back so it can be shown.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 9b2c5c6..70f7c34 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -156,6 +156,7 @@ include("head.inc");
<center><img src="logobig.jpg"></center>
<br>
<?php
+ $found_notices = are_notices_pending();
print_notice_box();
if(file_exists("{$g["tmp_path"]}/filter_reloading"))
@@ -382,6 +383,11 @@ While(!Connection_Aborted()) {
echo "</script>\n";
+ if(are_notices_pending() == true and $found_notices == false) {
+ /* found a notice, lets redirect so they can see the notice */
+ $counter = 500;
+ }
+
/*
* prevent user from running out of ram.
* firefox and ie can be a bear on ram usage!
OpenPOWER on IntegriCloud