aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg/sarg.priv.inc
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-05-24 17:13:31 -0300
committermarcelloc <marcellocoutinho@gmail.com>2012-05-24 17:13:31 -0300
commit3864c8951c23d691101b18911bb5e76d603e4d1b (patch)
tree2a793da9ecb0fdf855a3aea34db31400056e4712 /config/sarg/sarg.priv.inc
parent0413d215d6102b9e75068564c87e368426b012c5 (diff)
downloadpfsense-packages-3864c8951c23d691101b18911bb5e76d603e4d1b.tar.gz
pfsense-packages-3864c8951c23d691101b18911bb5e76d603e4d1b.tar.bz2
pfsense-packages-3864c8951c23d691101b18911bb5e76d603e4d1b.zip
sarg - version 0.5 with reports permission inc file and no direct access to reports
Diffstat (limited to 'config/sarg/sarg.priv.inc')
-rw-r--r--config/sarg/sarg.priv.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/sarg/sarg.priv.inc b/config/sarg/sarg.priv.inc
new file mode 100644
index 00000000..2de21519
--- /dev/null
+++ b/config/sarg/sarg.priv.inc
@@ -0,0 +1,12 @@
+<?php
+
+global $priv_list;
+
+$priv_list['page-status-sarg-reports'] = array();
+$priv_list['page-status-sarg-reports']['name'] = "WebCfg - Status: Sarg reports";
+$priv_list['page-status-sarg-reports']['descr'] = "Allow access to sarg reports page.";
+$priv_list['page-status-sarg-reports']['match'] = array();
+$priv_list['page-status-sarg-reports']['match'][] = "sarg_reports.php*";
+$priv_list['page-status-sarg-reports']['match'][] = "sarg_realtime.php*";
+
+?> \ No newline at end of file