Project

General

Profile

« Previous | Next » 

Revision 39d1c22d

Added by Scott Ullrich over 15 years ago

Use _SERVER['HTTP_HOST'] instead of lanip Resolves #157

View differences:

usr/local/www/wizard.php
653 653
			$urlport = "";
654 654
		}
655 655
	}
656
	$myurl = $proto . "://" . get_interface_ip("lan") . $urlport . "/";
656
	$myurl = $proto . "://" . $_SERVER['HTTP_HOST'] . $urlport . "/";
657 657
	$newstring = str_replace("\$myurl", $myurl, $newstring);
658 658
	// fixup #2: $wanip
659 659
	$curwanip = get_interface_ip();

Also available in: Unified diff