diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-10-03 15:26:19 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-15 12:04:38 -0500 |
commit | 8f3b3b0c834eb5c3f7ff762ccaff24aead47a856 (patch) | |
tree | e3e272b5f49a9ac4e0310ef0bd8618f6d9520882 /config/suricata | |
parent | 3335f3bfa5a75e11bb89d1482da1addc7ed6ecff (diff) | |
download | pfsense-packages-8f3b3b0c834eb5c3f7ff762ccaff24aead47a856.tar.gz pfsense-packages-8f3b3b0c834eb5c3f7ff762ccaff24aead47a856.tar.bz2 pfsense-packages-8f3b3b0c834eb5c3f7ff762ccaff24aead47a856.zip |
Use system globals instead of hard-coded /tmp path.
Diffstat (limited to 'config/suricata')
-rw-r--r-- | config/suricata/suricata_check_for_rule_updates.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_check_for_rule_updates.php b/config/suricata/suricata_check_for_rule_updates.php index 6d4e518c..a7afafee 100644 --- a/config/suricata/suricata_check_for_rule_updates.php +++ b/config/suricata/suricata_check_for_rule_updates.php @@ -93,7 +93,7 @@ $vrt_enabled = $config['installedpackages']['suricata']['config'][0]['enable_vrt $snortcommunityrules = $config['installedpackages']['suricata']['config'][0]['snortcommunityrules'] == 'on' ? 'on' : 'off'; /* Working directory for downloaded rules tarballs */ -$tmpfname = "/tmp/suricata_rules_up"; +$tmpfname = "{$g['tmp_path']}/suricata_rules_up"; /* Snort VRT Rules filenames and URL */ $snort_filename_md5 = "{$snort_filename}.md5"; |