aboutsummaryrefslogtreecommitdiffstats
path: root/config/orionids-dev/snort_alerts.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2011-08-05 18:19:02 -0700
committerrobiscool <robrob2626@yahoo.com>2011-08-05 18:19:02 -0700
commit556474c5b9db2afff94d288870b203bed3ff2cfb (patch)
treeb5bcd08949ad075974e7445c11edab323f4a4a6c /config/orionids-dev/snort_alerts.php
parent3bd2e6738affb0c731993dcdc06d756e23a0dd24 (diff)
downloadpfsense-packages-556474c5b9db2afff94d288870b203bed3ff2cfb.tar.gz
pfsense-packages-556474c5b9db2afff94d288870b203bed3ff2cfb.tar.bz2
pfsense-packages-556474c5b9db2afff94d288870b203bed3ff2cfb.zip
orionids-dev, fix db save changes, fix foward slash error on chrom and ie9, add no cache php code
Diffstat (limited to 'config/orionids-dev/snort_alerts.php')
-rw-r--r--config/orionids-dev/snort_alerts.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/orionids-dev/snort_alerts.php b/config/orionids-dev/snort_alerts.php
index 79485350..3cb79c5c 100644
--- a/config/orionids-dev/snort_alerts.php
+++ b/config/orionids-dev/snort_alerts.php
@@ -45,6 +45,13 @@ require_once("guiconfig.inc");
require_once("/usr/local/pkg/snort/snort_new.inc");
require_once("/usr/local/pkg/snort/snort_gui.inc");
+//Set no caching
+header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
+header("Cache-Control: no-store, no-cache, must-revalidate");
+header("Cache-Control: post-check=0, pre-check=0", false);
+header("Pragma: no-cache");
+
$generalSettings = snortSql_fetchAllSettings('snortDB', 'SnortSettings', 'id', '1');
$alertnumber = $generalSettings['alertnumber'];