aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-12-05 10:20:17 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-15 12:15:48 -0500
commit477886371b45c363d02727afce409a03a99d516a (patch)
tree724aa1a2f4dbe0fdbc979241d7eb16a8a0b714bf /config/suricata
parent2f74218036a673140b98f4262d1064bf1ae94ac8 (diff)
downloadpfsense-packages-477886371b45c363d02727afce409a03a99d516a.tar.gz
pfsense-packages-477886371b45c363d02727afce409a03a99d516a.tar.bz2
pfsense-packages-477886371b45c363d02727afce409a03a99d516a.zip
Make better use of previous DEFINES in new ones.
Diffstat (limited to 'config/suricata')
-rw-r--r--config/suricata/suricata_defs.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/suricata/suricata_defs.inc b/config/suricata/suricata_defs.inc
index 0a34b391..7758a9f0 100644
--- a/config/suricata/suricata_defs.inc
+++ b/config/suricata/suricata_defs.inc
@@ -64,7 +64,7 @@ if (!defined('SURICATA_PBI_BASEDIR'))
// Define the PBI binary wrapper directory
if (!defined('SURICATA_PBI_BINDIR'))
- define('SURICATA_PBI_BINDIR', '/usr/pbi/suricata-' . php_uname("m") . '/bin/');
+ define('SURICATA_PBI_BINDIR', SURICATA_PBI_BASEDIR . 'bin/');
// Define the name of the pf table used for IP blocks
if (!defined('SURICATA_PF_TABLE'))
@@ -72,7 +72,7 @@ if (!defined('SURICATA_PF_TABLE'))
// Create some other useful defines
if (!defined('SURICATADIR'))
- define('SURICATADIR', '/usr/pbi/suricata-' . php_uname("m") . '/etc/suricata/');
+ define('SURICATADIR', SURICATA_PBI_BASEDIR . 'etc/suricata/');
if (!defined('SURICATALOGDIR'))
define('SURICATALOGDIR', "{$g['varlog_path']}/suricata/");
if (!defined('SURICATA_RULES_UPD_LOGFILE'))