diff options
Diffstat (limited to 'config/orionids-dev/snort_download_updates.php')
-rw-r--r-- | config/orionids-dev/snort_download_updates.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/orionids-dev/snort_download_updates.php b/config/orionids-dev/snort_download_updates.php index 3cb2716d..445671bd 100644 --- a/config/orionids-dev/snort_download_updates.php +++ b/config/orionids-dev/snort_download_updates.php @@ -48,6 +48,13 @@ require_once("guiconfig.inc"); require_once("/usr/local/pkg/snort/snort_gui.inc"); require_once("/usr/local/pkg/snort/snort_download_rules.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"); + // set page vars if (isset($_GET['updatenow'])) { $updatenow = $_GET['updatenow']; |