diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-12-19 19:56:31 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-12-19 19:57:10 -0600 |
commit | 5b4ed0e1dbef72c42c0760e9c2bc02575b4d57ad (patch) | |
tree | 13e784069906bbb43627848b0892c478b9c467f9 /usr/local | |
parent | a98ff7efd49a2831fef9f0213e28bf96114de671 (diff) | |
download | pfsense-5b4ed0e1dbef72c42c0760e9c2bc02575b4d57ad.zip pfsense-5b4ed0e1dbef72c42c0760e9c2bc02575b4d57ad.tar.gz |
Use correct port for viewing portal page contents. Ticket #4125
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/services_captiveportal.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index 2248f54..70a72ba 100644 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -994,10 +994,10 @@ function enable_change(enable_change) { list($host) = explode(":", $_SERVER['HTTP_HOST']); $zoneid = $pconfig['zoneid'] ? $pconfig['zoneid'] : 8000; if ($pconfig['httpslogin_enable']) { - $port = $pconfig['listenporthttps'] ? $pconfig['listenporthttps'] : ($zoneid + 1); + $port = $pconfig['listenporthttps'] ? $pconfig['listenporthttps'] : ($zoneid + 8001); $href = "https://{$host}:{$port}"; } else { - $port = $pconfig['listenporthttp'] ? $pconfig['listenporthttp'] : $zoneid; + $port = $pconfig['listenporthttp'] ? $pconfig['listenporthttp'] : ($zoneid + 8000); $href = "http://{$host}:{$port}"; } ?> |