aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_post_install.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort/snort_post_install.php')
-rw-r--r--config/snort/snort_post_install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_post_install.php b/config/snort/snort_post_install.php
index d3bc4d63..040858b9 100644
--- a/config/snort/snort_post_install.php
+++ b/config/snort/snort_post_install.php
@@ -58,7 +58,7 @@ global $config, $g, $rebuild_rules, $pkg_interface, $snort_gui_include;
* updated GUI package. *
****************************************/
if (!defined('SNORT_SID_MODS_PATH'))
- define('SNORT_SID_MODS_PATH', '/var/db/snort/sidmods/');
+ define('SNORT_SID_MODS_PATH', "{$g['vardb_path']}/snort/sidmods/");
/****************************************
* End of PHP caching workaround *