From 55ab363d155a0276962cbbb8def488844fc0629a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 11 Jul 2005 20:55:51 +0000 Subject: 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. --- usr/local/www/index.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'usr/local/www') 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");

\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! -- cgit v1.1