mirror of
https://github.com/unraid/webgui.git
synced 2026-02-14 13:08:56 -06:00
Update IPADDR references
This commit is contained in:
@@ -247,7 +247,7 @@ class DockerTemplates {
|
||||
$WebUI = $this->getTemplateValue($Repository, "WebUI");
|
||||
|
||||
if (preg_match("%\[IP\]%", $WebUI)) {
|
||||
$WebUI = preg_replace("%\[IP\]%", $var["IPADDR"], $WebUI);
|
||||
$WebUI = preg_replace("%\[IP\]%", $eth0["IPADDR:0"], $WebUI);
|
||||
}
|
||||
if (preg_match("%\[PORT:(\d+)\]%", $WebUI, $matches)) {
|
||||
$ConfigPort = $matches[1];
|
||||
|
||||
Reference in New Issue
Block a user