aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-11 00:58:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-11 00:58:06 +0000
commit7b9f0da2579f2642c2e822c18aa675559d84b736 (patch)
tree26ba27bebd42b46db7a702f96d5979420ffb5e57
parent1f5f9c653a6b3397a489dc1e584a5ff0fa6bd1a6 (diff)
downloadpfsense-packages-7b9f0da2579f2642c2e822c18aa675559d84b736.tar.gz
pfsense-packages-7b9f0da2579f2642c2e822c18aa675559d84b736.tar.bz2
pfsense-packages-7b9f0da2579f2642c2e822c18aa675559d84b736.zip
Cache page when needed.
-rw-r--r--packages/snort/snort.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index 6de817be..bad72c09 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -495,9 +495,6 @@ function update_all_status($status) {
}
}
-if(file_exists("/var/log/snort/alert"))
- $snort_alert_file_split = split("\n", file_get_contents("/var/log/snort/alert"));
-
/* obtain alert description for an ip address */
function get_snort_alert($ip) {
global $snort_alert_file_split, $snort_config;