diff options
author | Ermal <eri@pfsense.org> | 2012-07-09 19:05:09 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-09 22:16:12 +0000 |
commit | 6181db752732ab5124cdf1a71f9447c17a257c9e (patch) | |
tree | 7f982103d2ce9ef79255459ffbae8059f270cb61 /config/snort/snort_rules.php | |
parent | a4773870bd45062d305acdab112ab2aad740f6dc (diff) | |
download | pfsense-packages-6181db752732ab5124cdf1a71f9447c17a257c9e.tar.gz pfsense-packages-6181db752732ab5124cdf1a71f9447c17a257c9e.tar.bz2 pfsense-packages-6181db752732ab5124cdf1a71f9447c17a257c9e.zip |
Use constants as pointed out by Jim
Diffstat (limited to 'config/snort/snort_rules.php')
-rw-r--r-- | config/snort/snort_rules.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/snort/snort_rules.php b/config/snort/snort_rules.php index e48dcdf1..bf2970dd 100644 --- a/config/snort/snort_rules.php +++ b/config/snort/snort_rules.php @@ -32,7 +32,9 @@ require_once("guiconfig.inc"); require_once("/usr/local/pkg/snort/snort.inc"); -global $g, $snortdir; +global $g; + +$snortdir = SNORTDIR; if (!is_array($config['installedpackages']['snortglobal']['rule'])) $config['installedpackages']['snortglobal']['rule'] = array(); |