From d3d255cc1fa5e11a15841bf65c5ceddaed5d8fb6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 28 Apr 2005 16:46:09 +0000 Subject: $config['lan']['ip'] -> $config['interfaces']['lan']['ip'] --- usr/local/www/wizard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php index 70346b7..5982568 100755 --- a/usr/local/www/wizard.php +++ b/usr/local/www/wizard.php @@ -398,7 +398,7 @@ function fixup_string($string) { 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 . "://" . $config['lan']['ip']; + $myurl = "http" . $https . "://" . $config['interfaces']['lan']['ip']; $newstring = str_replace("\$myurl", $myurl, $string); $string = $newstring; // fixup #2: $wanip -- cgit v1.1