mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
$config['lan']['ip'] -> $config['interfaces']['lan']['ip']
This commit is contained in:
parent
50749af56a
commit
d3d255cc1f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user