diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-04-04 23:34:07 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-04-04 23:34:07 +0000 |
commit | 10a5b60ecc8d7cd535adc06599019ad7a76cc593 (patch) | |
tree | 5f9b76750c090ee9e5a1b9e92c91b97c53df9c04 /usr/local | |
parent | 5b691a54f5f83fe31fd87fbc42f0697de448ee7c (diff) | |
download | pfsense-10a5b60ecc8d7cd535adc06599019ad7a76cc593.zip pfsense-10a5b60ecc8d7cd535adc06599019ad7a76cc593.tar.gz |
Redirect to the correct URL/IP after the wizard
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/wizard.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php index 4371eb4..64cffa7 100755 --- a/usr/local/www/wizard.php +++ b/usr/local/www/wizard.php @@ -397,7 +397,8 @@ function fixup_string($string) { $port = $config['system']['webguiport']; if($port <> "443" and $port <> "80") $urlport = ":" . $port; if($config['system']['webguiproto'] == "https") $https = "s"; - $myurl = "http" . $https . "://" . getenv("HTTP_HOST") . $urlportport; + //$myurl = "http" . $https . "://" . getenv("HTTP_HOST") . $urlportport; + $myurl = "http" . $https . "://" . $config['lan']['ip']; $newstring = str_replace("\$myurl", $myurl, $string); $string = $newstring; // fixup #2: $wanip |