aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_download_rules.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort-dev/snort_download_rules.php')
-rw-r--r--config/snort-dev/snort_download_rules.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/config/snort-dev/snort_download_rules.php b/config/snort-dev/snort_download_rules.php
index 576e0dff..83e11e05 100644
--- a/config/snort-dev/snort_download_rules.php
+++ b/config/snort-dev/snort_download_rules.php
@@ -183,7 +183,7 @@ include("/usr/local/www/head.inc");
function displaymessage()
{
- $.blockUI.defaults.message = "Please be patient ROB...";
+ $.blockUI.defaults.message = "Please be patient....";
$.blockUI({
@@ -1080,13 +1080,13 @@ if ($snort_md5_check_ok != on || $emerg_md5_check_chk_ok != on || $pfsense_md5_c
$config['installedpackages']['snortglobal']['last_rules_install'] = date("Y-M-jS-h:i-A");
/* remove old $tmpfname files */
-//if (file_exists("{$tmpfname}")) {
-// update_status(gettext("Cleaning up..."));
-// exec("/bin/rm -r /tmp/snort_rules_up");
-// sleep(2);
-// exec("/bin/rm -r {$snortdir}/rules_bk/rules/");
-// apc_clear_cache();
-//}
+if (file_exists("{$tmpfname}")) {
+ update_status(gettext("Cleaning up..."));
+ exec("/bin/rm -r /tmp/snort_rules_up");
+ sleep(2);
+ exec("/bin/rm -r {$snortdir}/rules_bk/rules/");
+ apc_clear_cache();
+}
/* php code to flush out cache some people are reportting missing files this might help */
sleep(2);