summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-01-25 06:18:04 -0600
committerLuiz Otavio O Souza <luiz@netgate.com>2016-01-25 07:13:24 -0600
commit0919644d360888918ae728dd19728d1da332856f (patch)
treef6b2718e4057fa17f1dc3b977a89f8e5d95fd5f7 /src/usr/local/www/wizard.php
parentbbf31c76eb95912c2ae0e35e0daa40b43495b26c (diff)
downloadpfsense-0919644d360888918ae728dd19728d1da332856f.zip
pfsense-0919644d360888918ae728dd19728d1da332856f.tar.gz
Fixes the GUI URL in the last step of the setup wizard.
The SERVER_NAME variable is not available anymore, use HTTP_HOST instead.
Diffstat (limited to 'src/usr/local/www/wizard.php')
-rw-r--r--src/usr/local/www/wizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/wizard.php b/src/usr/local/www/wizard.php
index cfe95f9..b3eb88a 100644
--- a/src/usr/local/www/wizard.php
+++ b/src/usr/local/www/wizard.php
@@ -380,7 +380,7 @@ function fixup_string($string) {
}
}
- $http_host = $_SERVER['SERVER_NAME'];
+ $http_host = $_SERVER['HTTP_HOST'];
$urlhost = $http_host;
// If finishing the setup wizard, check if accessing on a LAN or WAN address that changed
if ($title == "Reload in progress") {
OpenPOWER on IntegriCloud