summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-28 16:46:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-28 16:46:09 +0000
commitd3d255cc1fa5e11a15841bf65c5ceddaed5d8fb6 (patch)
treebfe7652391e7a4ccd57666f2cdcf3b70dd08836b /usr
parent50749af56a9249d2fc31796846bb3af4d4edc3ac (diff)
downloadpfsense-d3d255cc1fa5e11a15841bf65c5ceddaed5d8fb6.zip
pfsense-d3d255cc1fa5e11a15841bf65c5ceddaed5d8fb6.tar.gz
$config['lan']['ip'] -> $config['interfaces']['lan']['ip']
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/wizard.php2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud