summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-11-25 09:05:08 +0545
committerPhil Davis <phil.davis@inf.org>2015-11-25 09:05:08 +0545
commit925817a773e62dd98863a1f93ff7feaf5a24faa4 (patch)
treebf94832339791220411c89fe885215b535e5be2f /src/usr/local/www/head.inc
parent5eb59cee0eef140913323c7f48a2639154070964 (diff)
downloadpfsense-925817a773e62dd98863a1f93ff7feaf5a24faa4.zip
pfsense-925817a773e62dd98863a1f93ff7feaf5a24faa4.tar.gz
Remove special code for Status Captive Portal #5529
The Captive Portal Status page has been fixed up so it displays nice stuff when there are no Captive Portal Zones defined. On my system this test did not work consistently anyway. When displaying the Dashboard, Status->Captive Portal was in the menu. When displaying Services->Captive Portal (with no zones defined) then Status->Captive Portal was not in the menu. I think that don't care to waste time investigating exactly why that was, because actually this special test here is not really needed anyway.
Diffstat (limited to 'src/usr/local/www/head.inc')
-rwxr-xr-xsrc/usr/local/www/head.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index bb55f52..9fb5e08 100755
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -269,10 +269,7 @@ $vpn_menu = msort(array_merge($vpn_menu, return_ext_menu("VPN")), 0);
// Status
$status_menu = array();
-if (count($config['captiveportal']) > 0) {
- $status_menu[] = array(gettext("Captive Portal"), "/status_captiveportal.php");
-}
-
+$status_menu[] = array(gettext("Captive Portal"), "/status_captiveportal.php");
$status_menu[] = array(gettext("CARP (failover)"), "/carp_status.php");
$status_menu[] = array(gettext("Dashboard"), "/index.php");
$status_menu[] = array(gettext("Gateways"), "/status_gateways.php");
OpenPOWER on IntegriCloud