diff options
Diffstat (limited to 'config/snort')
-rwxr-xr-x | config/snort/snort.inc | 2 | ||||
-rwxr-xr-x | config/snort/snort_check_for_rule_updates.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index b9a022fd..64ab6ea5 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -3096,7 +3096,7 @@ function snort_deinstall() { global $config, $g; $snortdir = SNORTDIR; - $snortlibdir = "/usr/pbi/snort-" . php_uname("m") . "/lib"; + $snortlibdir = SNORT_PBI_BASEDIR . "lib"; $snortlogdir = SNORTLOGDIR; $rcdir = RCFILEPREFIX; $snort_rules_upd_log = SNORT_RULES_UPD_LOGFILE; diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php index 3106cb7b..842e39d5 100755 --- a/config/snort/snort_check_for_rule_updates.php +++ b/config/snort/snort_check_for_rule_updates.php @@ -38,7 +38,7 @@ require("/usr/local/pkg/snort/snort_defs.inc"); global $g, $config, $pkg_interface, $snort_gui_include, $rebuild_rules; $snortdir = SNORTDIR; -$snortlibdir = "/usr/pbi/snort-" . php_uname("m") . "/lib"; +$snortlibdir = SNORT_PBI_BASEDIR . "lib"; $snortlogdir = SNORTLOGDIR; $snortiprepdir = SNORT_IPREP_PATH; $snortbindir = SNORT_PBI_BINDIR; |