diff options
-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 |