From b01a27a54c97e5c4f96c412794c11dc7acad91e1 Mon Sep 17 00:00:00 2001 From: jim-p Date: Sat, 24 Oct 2009 19:45:49 -0400 Subject: Move rw call a bit higher when downloading snort rules. --- config/snort/snort_download_rules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/snort/snort_download_rules.php') diff --git a/config/snort/snort_download_rules.php b/config/snort/snort_download_rules.php index c07dc1cf..9826ba2a 100644 --- a/config/snort/snort_download_rules.php +++ b/config/snort/snort_download_rules.php @@ -164,6 +164,8 @@ hide_progress_bar_status(); /* send current buffer */ ob_flush(); +conf_mount_rw(); + /* remove old $tmpfname files */ if (file_exists("{$tmpfname}")) { update_status(gettext("Removing old tmp files...")); @@ -189,8 +191,6 @@ if (file_exists($tmpfname)) { /* unhide progress bar and lets end this party */ unhide_progress_bar_status(); -conf_mount_rw(); - /* download md5 sig from snort.org */ if (file_exists("{$tmpfname}/{$snort_filename_md5}")) { update_status(gettext("md5 temp file exists...")); -- cgit v1.2.3