From 9364ae8d30859823ef560ab90eb25b6947467ecf Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 21 Jan 2013 11:26:32 +0100 Subject: Put required $ for var --- config/snort/snort_check_for_rule_updates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php index 6ec8a1d8..adece3d3 100755 --- a/config/snort/snort_check_for_rule_updates.php +++ b/config/snort/snort_check_for_rule_updates.php @@ -388,7 +388,7 @@ if ($snortdownload == 'on' || $emergingthreats == 'on') { /* Determine which base etc file set to use for the master copy. */ /* If the Snort VRT rules are not enabled, then use Emerging Threats. */ - if (($vrt_enabled == 'off') && (et_enabled == 'on')) { + if (($vrt_enabled == 'off') && ($et_enabled == 'on')) { foreach (array("classification.config", "reference.config", "gen-msg.map", "unicode.map") as $file) { if (file_exists("{$snortdir}/ET_{$file}")) @rename("{$snortdir}/ET_{$file}", "{$snortdir}/{$file}"); -- cgit v1.2.3