From d5726cd30250d85f93bf372cd3082a40f34f406a Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 24 Jan 2013 14:43:22 +0100 Subject: Correct missing parametr --- config/snort/snort_check_for_rule_updates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort') diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php index a3e45b5d..e17f29ab 100755 --- a/config/snort/snort_check_for_rule_updates.php +++ b/config/snort/snort_check_for_rule_updates.php @@ -336,7 +336,7 @@ function snort_apply_customizations($snortcfg, $if_real) { /* rule category files if we have any. */ if (!empty($snortcfg['rulesets'])) { foreach (explode("||", $snortcfg['rulesets']) as $file) { - if (file_exists()) + if (file_exists($file)) $enabled_files[] = "{$snortdir}/rules/" . $file; } -- cgit v1.2.3