diff options
author | Chris Buechler <cmb@pfsense.org> | 2012-05-01 01:32:50 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2012-05-01 01:32:50 -0400 |
commit | eedd093a3813826b217c87f955f9d3303c5af2f2 (patch) | |
tree | 629db86f132028b09d0842b9cacf85241e7c192c /usr/local/captiveportal | |
parent | a1a0cd46227eec482ad3e80c84a9d86dd4aa994f (diff) | |
download | pfsense-eedd093a3813826b217c87f955f9d3303c5af2f2.zip pfsense-eedd093a3813826b217c87f955f9d3303c5af2f2.tar.gz |
correct hostname variable, and use FQDN
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-x | usr/local/captiveportal/index.php | 2 |
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']}"; } |