diff options
author | jim-p <jimp@pfsense.org> | 2014-01-02 10:05:57 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-01-02 10:06:18 -0500 |
commit | c651d4bea6c81d610008a01cb9d7793bfbf0dff6 (patch) | |
tree | 8b416d8a5b3e165f41fad1557bbdf104bd953864 /config/mailreport/status_mail_report.php | |
parent | 8950feb1d56407b3b5af01722a6db2f64020b25b (diff) | |
download | pfsense-packages-c651d4bea6c81d610008a01cb9d7793bfbf0dff6.tar.gz pfsense-packages-c651d4bea6c81d610008a01cb9d7793bfbf0dff6.tar.bz2 pfsense-packages-c651d4bea6c81d610008a01cb9d7793bfbf0dff6.zip |
Remove mailreports redirect if RRD is disabled (except for page adding an rrd graph). Since it works with other info, it no longer r
elies on RRD being enabled. Also fixup (c), filename, and privilege headers.
Diffstat (limited to 'config/mailreport/status_mail_report.php')
-rw-r--r-- | config/mailreport/status_mail_report.php | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/config/mailreport/status_mail_report.php b/config/mailreport/status_mail_report.php index b1705fac..e08a7272 100644 --- a/config/mailreport/status_mail_report.php +++ b/config/mailreport/status_mail_report.php @@ -1,9 +1,9 @@ <?php /* $Id$ */ /* - status_rrd_graph.php + status_mail_report.php Part of pfSense - Copyright (C) 2011 Jim Pingle <jimp@pfsense.org> + Copyright (C) 2011-2014 Jim Pingle <jimp@pfsense.org> All rights reserved. Redistribution and use in source and binary forms, with or without @@ -32,20 +32,15 @@ */ ##|+PRIV -##|*IDENT=page-status-rrdgraphs -##|*NAME=Status: RRD Graphs page -##|*DESCR=Allow access to the 'Status: RRD Graphs' page. -##|*MATCH=status_rrd_graph.php* +##|*IDENT=page-status-mailreports +##|*NAME=Status: E-Mail Reports page +##|*DESCR=Allow access to the 'Status: E-Mail Reports' page. +##|*MATCH=status_mail_report.php* ##|-PRIV require("guiconfig.inc"); require_once("mail_reports.inc"); -/* if the rrd graphs are not enabled redirect to settings page */ -if(! isset($config['rrd']['enable'])) { - header("Location: status_rrd_graph_settings.php"); -} - if (!is_array($config['mailreports']['schedule'])) $config['mailreports']['schedule'] = array(); |