summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_settings.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-02-06 15:52:19 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-02-06 15:54:47 -0200
commitcba9d7d9a5edd4d2b49768a536740b288da99300 (patch)
treed5818f8a323ed7659d3e8ed0ef02036e87e0801b /usr/local/www/status_rrd_graph_settings.php
parent2e19a6834fb8b3f2e6f74278be9b9407d7c9d638 (diff)
downloadpfsense-cba9d7d9a5edd4d2b49768a536740b288da99300.zip
pfsense-cba9d7d9a5edd4d2b49768a536740b288da99300.tar.gz
Adjust RRD captive portal graphs for CP zones
- Create RRD configs per zone - Add tabs to see graphs per zone - Migrate existing rrd files to default cpZone - While I'm here, call unset() for $rrdcreate and $rrdupdatesh Resolves #2655
Diffstat (limited to 'usr/local/www/status_rrd_graph_settings.php')
-rwxr-xr-xusr/local/www/status_rrd_graph_settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php
index 551fccb..6a30cc4 100755
--- a/usr/local/www/status_rrd_graph_settings.php
+++ b/usr/local/www/status_rrd_graph_settings.php
@@ -106,7 +106,7 @@ foreach($databases as $database) {
if(stristr($database, "-vpnusers")) {
$vpnusers = true;
}
- if(stristr($database, "captiveportal-") && isset($config['captiveportal']['enable'])) {
+ if(stristr($database, "captiveportal-") && is_array($config['captiveportal'])) {
$captiveportal = true;
}
}
OpenPOWER on IntegriCloud