aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-02 18:43:01 +0000
committerErmal <eri@pfsense.org>2010-12-02 18:43:01 +0000
commitbb69c7e91d64ae2308101f93e8c48980fe7c4ce4 (patch)
treea3b889c25a25138008998da1af59d09bb05285c7
parent93adfc8176b7c805327bfc1dbf353a0a5cc3b813 (diff)
downloadpfsense-packages-bb69c7e91d64ae2308101f93e8c48980fe7c4ce4.tar.gz
pfsense-packages-bb69c7e91d64ae2308101f93e8c48980fe7c4ce4.tar.bz2
pfsense-packages-bb69c7e91d64ae2308101f93e8c48980fe7c4ce4.zip
Use require once as a quick fix. This mess is not easily readble.
-rw-r--r--config/snort/snort_rules.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_rules.php b/config/snort/snort_rules.php
index acd75b57..a7b9ef73 100644
--- a/config/snort/snort_rules.php
+++ b/config/snort/snort_rules.php
@@ -411,8 +411,8 @@ $currentruleset = basename($rulefile);
$ifname = strtoupper($pconfig['interface']);
-require("guiconfig.inc");
-include("/usr/local/pkg/snort/snort_head.inc");
+require_once("guiconfig.inc");
+include_once("/usr/local/pkg/snort/snort_head.inc");
$pgtitle = "Snort: $id $iface_uuid $if_real Category: $currentruleset";