diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2016-01-25 06:18:04 -0600 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2016-01-25 07:13:24 -0600 |
commit | 0919644d360888918ae728dd19728d1da332856f (patch) | |
tree | f6b2718e4057fa17f1dc3b977a89f8e5d95fd5f7 | |
parent | bbf31c76eb95912c2ae0e35e0daa40b43495b26c (diff) | |
download | pfsense-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.
-rw-r--r-- | src/usr/local/www/wizard.php | 2 |
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") { |