summaryrefslogtreecommitdiffstats
path: root/usr/local/www/guiconfig.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-20 19:40:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-20 19:40:12 +0000
commitb005c738f39a9f1997c1ecaad152a94279e3f315 (patch)
tree1433dd47b032b79d919a5b70412cb28e348094f4 /usr/local/www/guiconfig.inc
parent7bc718ba7116b09749633b799834cf7fc2212455 (diff)
downloadpfsense-b005c738f39a9f1997c1ecaad152a94279e3f315.zip
pfsense-b005c738f39a9f1997c1ecaad152a94279e3f315.tar.gz
Do not set lastseen to -1 each time
Diffstat (limited to 'usr/local/www/guiconfig.inc')
-rwxr-xr-xusr/local/www/guiconfig.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index c079988..cb77835 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -59,6 +59,8 @@ $d_sysrebootreqd_path = $g['varrun_path'] . "/sysreboot.reqd";
$d_passthrumacsdirty_path = $g['varrun_path'] . "/passthrumacs.dirty";
$d_allowedipsdirty_path = $g['varrun_path'] . "/allowedips.dirty";
$d_ovpnclidirty_path = $g['varrun_path'] . "/ovpnclient.dirty";
+/* used by progress bar */
+$lastseen = "-1";
if (file_exists($d_firmwarelock_path)) {
if (!$d_isfwfile) {
@@ -548,7 +550,6 @@ function read_body($ch, $string) {
unnecessary javascript update messages which sends the clients
firefox utilization to 100%
*/
- $lastseen = "-1";
if($lastseen <> $downloadProgress and $downloadProgress < 101) {
if($sendto == "status") {
$tostatus = $static_status . $downloadProgress . "%";
OpenPOWER on IntegriCloud