aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg/sarg.inc
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-03-30 19:15:10 -0300
committermarcelloc <marcellocoutinho@gmail.com>2012-03-30 19:15:10 -0300
commit7852acc1ede90c850669e6d94568c53c5fb807d4 (patch)
tree69f7080a5545158c8f081369f23440bee1416e20 /config/sarg/sarg.inc
parent3998c049f38f3dc0d0e27bdc39631264b3d1f6d8 (diff)
downloadpfsense-packages-7852acc1ede90c850669e6d94568c53c5fb807d4.tar.gz
pfsense-packages-7852acc1ede90c850669e6d94568c53c5fb807d4.tar.bz2
pfsense-packages-7852acc1ede90c850669e6d94568c53c5fb807d4.zip
sarg - version 0.2.1 with report tab cache fix
Diffstat (limited to 'config/sarg/sarg.inc')
-rw-r--r--config/sarg/sarg.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc
index 4194be64..c21d700d 100644
--- a/config/sarg/sarg.inc
+++ b/config/sarg/sarg.inc
@@ -119,7 +119,7 @@ function sync_package_sarg() {
#mount filesystem writeable
conf_mount_rw();
if (!is_array($config['installedpackages']['sarg']['config']))
- $config['installedpackages']['sarg']['config'][0]=array('report_options'=>'use_graphs,remove_temp_files,main_index,use_comma,overwrite_report',
+ $config['installedpackages']['sarg']['config'][0]=array('report_options'=>'use_graphs,remove_temp_files,main_index,use_comma',
'user_sort_field'=>'BYTES',
'report_type'=>'topusers,topsites,sites_users,users_sites,date_time,denied,auth_failures,site_user_time_date,downloads');
$sarg=$config['installedpackages']['sarg']['config'][0];
@@ -157,7 +157,6 @@ function sync_package_sarg() {
include("/usr/local/pkg/sarg.template");
file_put_contents("/usr/local/etc/sarg/sarg.conf", $sg, LOCK_EX);
-
file_put_contents('/usr/local/etc/sarg/exclude_users.conf', sarg_text_area_decode($sarg['exclude_userlist']),LOCK_EX);
file_put_contents('/usr/local/etc/sarg/exclude_hosts.conf', sarg_text_area_decode($sarg['exclude_hostlist']),LOCK_EX);
file_put_contents('/usr/local/etc/sarg/exclude_codes.conf', sarg_text_area_decode($sarg['exclude_codelist']),LOCK_EX);