summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2012-05-01 01:32:50 -0400
committerChris Buechler <cmb@pfsense.org>2012-05-01 01:32:50 -0400
commiteedd093a3813826b217c87f955f9d3303c5af2f2 (patch)
tree629db86f132028b09d0842b9cacf85241e7c192c /usr/local/captiveportal
parenta1a0cd46227eec482ad3e80c84a9d86dd4aa994f (diff)
downloadpfsense-eedd093a3813826b217c87f955f9d3303c5af2f2.zip
pfsense-eedd093a3813826b217c87f955f9d3303c5af2f2.tar.gz
correct hostname variable, and use FQDN
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-xusr/local/captiveportal/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index 3b413af..3048b67 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -64,7 +64,7 @@ if (isset($config['captiveportal'][$cpzone]['httpslogin']))
else {
$ifip = portal_ip_from_client_ip($clientip);
if (!$ifip)
- $ourhostname = $config['system'][$cpzone]['hostname'] . ":{$cpcfg['zoneid']}";
+ $ourhostname = $config['system']['hostname'] . $config['system']['domain'] . ":{$cpcfg['zoneid']}";
else
$ourhostname = "{$ifip}:{$cpcfg['zoneid']}";
}
OpenPOWER on IntegriCloud