aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-25 04:12:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-25 04:12:56 +0000
commit69514b5f80212067a6502cb748160c7e9f520c8d (patch)
tree07ebc975206c7774a2d775d8adb8642a0fde64ff
parent9b4406981115cfe58a2d6537a5b5791fec99e789 (diff)
downloadpfsense-packages-69514b5f80212067a6502cb748160c7e9f520c8d.tar.gz
pfsense-packages-69514b5f80212067a6502cb748160c7e9f520c8d.tar.bz2
pfsense-packages-69514b5f80212067a6502cb748160c7e9f520c8d.zip
Add a start button
-rw-r--r--packages/snort/snort_download_rules.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php
index 7537df5c..3f9459b8 100644
--- a/packages/snort/snort_download_rules.php
+++ b/packages/snort/snort_download_rules.php
@@ -43,6 +43,15 @@ include("head.inc");
<form action="snort_download_rules.php" method="post">
<div id="inputerrors"></div>
+
+<?php
+ if(!$_GET['start'] && !$_POST['start']) {
+ echo "Press <a href='snort_download_rules.php?start=yes'>here</a> to start download.<br>";
+ include("fend.inc");
+ exit;
+ }
+?>
+
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
@@ -98,6 +107,8 @@ if(!$oinkid) {
exit;
}
+ob_flush();
+
/* setup some variables */
$snort_filename = "snortrules-snapshot-CURRENT.tar.gz";
$snort_filename_md5 = "snortrules-snapshot-CURRENT.tar.gz.md5";