From 821067d70cee9aa159920be905a9d91467f31bd6 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Sun, 20 Oct 2013 23:56:24 -0200 Subject: sarg - mount filesystem rw before report file copy and remove --- config/sarg/sarg_reports.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/sarg/sarg_reports.php') 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(); ?> -- cgit v1.2.3