Revision b005c738
Added by Scott Ullrich about 20 years ago
usr/local/www/guiconfig.inc | ||
---|---|---|
59 | 59 |
$d_passthrumacsdirty_path = $g['varrun_path'] . "/passthrumacs.dirty"; |
60 | 60 |
$d_allowedipsdirty_path = $g['varrun_path'] . "/allowedips.dirty"; |
61 | 61 |
$d_ovpnclidirty_path = $g['varrun_path'] . "/ovpnclient.dirty"; |
62 |
/* used by progress bar */ |
|
63 |
$lastseen = "-1"; |
|
62 | 64 |
|
63 | 65 |
if (file_exists($d_firmwarelock_path)) { |
64 | 66 |
if (!$d_isfwfile) { |
... | ... | |
548 | 550 |
unnecessary javascript update messages which sends the clients |
549 | 551 |
firefox utilization to 100% |
550 | 552 |
*/ |
551 |
$lastseen = "-1"; |
|
552 | 553 |
if($lastseen <> $downloadProgress and $downloadProgress < 101) { |
553 | 554 |
if($sendto == "status") { |
554 | 555 |
$tostatus = $static_status . $downloadProgress . "%"; |
Also available in: Unified diff
Do not set lastseen to -1 each time