diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-10-20 23:56:24 -0200 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-10-20 23:56:24 -0200 |
commit | 821067d70cee9aa159920be905a9d91467f31bd6 (patch) | |
tree | 84e0b01efc8ab5225f7d0bd43c59d598239ac666 /config/sarg/sarg_reports.php | |
parent | c5abc3905311d69e442989712cceb391719f6deb (diff) | |
download | pfsense-packages-821067d70cee9aa159920be905a9d91467f31bd6.tar.gz pfsense-packages-821067d70cee9aa159920be905a9d91467f31bd6.tar.bz2 pfsense-packages-821067d70cee9aa159920be905a9d91467f31bd6.zip |
sarg - mount filesystem rw before report file copy and remove
Diffstat (limited to 'config/sarg/sarg_reports.php')
-rwxr-xr-x | config/sarg/sarg_reports.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/sarg/sarg_reports.php b/config/sarg/sarg_reports.php index b1792312..b156a4d7 100755 --- a/config/sarg/sarg_reports.php +++ b/config/sarg/sarg_reports.php @@ -61,7 +61,9 @@ require("guiconfig.inc"); $tab_array[] = array(gettext("XMLRPC Sync"), false, "/pkg_edit.php?xml=sarg_sync.xml&id=0"); $tab_array[] = array(gettext("Help"), false, "/pkg_edit.php?xml=sarg_about.php"); display_top_tabs($tab_array); + conf_mount_rw(); exec('rm -f /usr/local/www/sarg-images/temp/*'); + conf_mount_ro(); ?> </td></tr> <tr> |