aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-27 05:37:25 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-27 05:37:25 +0000
commit923c85cad9bf096f5d6bcc07a4a18f8e5032dcf5 (patch)
tree326d278647efdb5ea04fe8f983a669beaaedee0b
parent9fd2db22c7fe6cf765c971600909f7ae626f24a4 (diff)
downloadpfsense-packages-923c85cad9bf096f5d6bcc07a4a18f8e5032dcf5.tar.gz
pfsense-packages-923c85cad9bf096f5d6bcc07a4a18f8e5032dcf5.tar.bz2
pfsense-packages-923c85cad9bf096f5d6bcc07a4a18f8e5032dcf5.zip
Be sure to flush contents before loading url.
-rw-r--r--packages/snort/snort_download_rules.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php
index b70fd41d..774434c9 100644
--- a/packages/snort/snort_download_rules.php
+++ b/packages/snort/snort_download_rules.php
@@ -86,6 +86,8 @@ include("head.inc");
echo "<div id='loading' name='loading'>\n";
echo "<img src=\"/themes/metallic/images/misc/loader.gif\"> Getting release information from snort.org...\n";
echo "</div>\n";
+ ob_flush();
+ sleep(1);
$text = file_get_contents("http://www.snort.org/pub-bin/downloads.cgi");
echo "<script type=\"text/javascript\">\n";
echo "$('loading').style.visibility = 'hidden';\n";