aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-01-19 23:05:35 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-01-19 23:05:35 -0500
commite0c80e78f616b11c327188e8908731d85eb199fe (patch)
tree983020343a6bd7b9094f5db415cce38d77c5977c
parent9c277bf31b361546080ba3e66b977cf6465e7938 (diff)
downloadpfsense-packages-e0c80e78f616b11c327188e8908731d85eb199fe.tar.gz
pfsense-packages-e0c80e78f616b11c327188e8908731d85eb199fe.tar.bz2
pfsense-packages-e0c80e78f616b11c327188e8908731d85eb199fe.zip
Declare $config as global to fix problems on pkg install.
-rwxr-xr-xconfig/snort/snort_check_for_rule_updates.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php
index 807b7844..0306c90d 100755
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -34,7 +34,7 @@ require_once("functions.inc");
require_once("service-utils.inc");
require_once "/usr/local/pkg/snort/snort.inc";
-global $g, $pkg_interface, $snort_gui_include, $rebuild_rules;
+global $g, $config, $pkg_interface, $snort_gui_include, $rebuild_rules;
if (!defined("VRT_DNLD_URL"))
define("VRT_DNLD_URL", "https://www.snort.org/reg-rules/");