aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-10-06 15:28:09 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-10-06 15:28:09 -0400
commit5ebe0acc2e91dda6ec54e1535be95aad180105dc (patch)
tree8f97f6aa184ffa3947c7ae2816514b8be3bff51b
parent80fd6990e1d33f7ec824d1d532bd479d9bd01eba (diff)
downloadpfsense-packages-5ebe0acc2e91dda6ec54e1535be95aad180105dc.tar.gz
pfsense-packages-5ebe0acc2e91dda6ec54e1535be95aad180105dc.tar.bz2
pfsense-packages-5ebe0acc2e91dda6ec54e1535be95aad180105dc.zip
Define new constant if not already defined to work around cached inc file.
-rw-r--r--config/snort/snort_post_install.php3
1 files changed, 3 insertions, 0 deletions
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 *
****************************************/