From 5ebe0acc2e91dda6ec54e1535be95aad180105dc Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Mon, 6 Oct 2014 15:28:09 -0400 Subject: Define new constant if not already defined to work around cached inc file. --- config/snort/snort_post_install.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/snort') diff --git a/config/snort/snort_post_install.php b/config/snort/snort_post_install.php index 040858b9..8ed7d81b 100644 --- a/config/snort/snort_post_install.php +++ b/config/snort/snort_post_install.php @@ -60,6 +60,9 @@ global $config, $g, $rebuild_rules, $pkg_interface, $snort_gui_include; if (!defined('SNORT_SID_MODS_PATH')) define('SNORT_SID_MODS_PATH', "{$g['vardb_path']}/snort/sidmods/"); +if (!defined('SNORT_ENFORCING_RULES_FILENAME')) + define("SNORT_ENFORCING_RULES_FILENAME", "snort.rules"); + /**************************************** * End of PHP caching workaround * ****************************************/ -- cgit v1.2.3