From bb69c7e91d64ae2308101f93e8c48980fe7c4ce4 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 2 Dec 2010 18:43:01 +0000 Subject: Use require once as a quick fix. This mess is not easily readble. --- config/snort/snort_rules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') 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"; -- cgit v1.2.3