summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-04 23:34:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-04 23:34:07 +0000
commit10a5b60ecc8d7cd535adc06599019ad7a76cc593 (patch)
tree5f9b76750c090ee9e5a1b9e92c91b97c53df9c04 /usr/local
parent5b691a54f5f83fe31fd87fbc42f0697de448ee7c (diff)
downloadpfsense-10a5b60ecc8d7cd535adc06599019ad7a76cc593.zip
pfsense-10a5b60ecc8d7cd535adc06599019ad7a76cc593.tar.gz
Redirect to the correct URL/IP after the wizard
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/wizard.php3
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
OpenPOWER on IntegriCloud