Project

General

Profile

« Previous | Next » 

Revision 8798990f

Added by Scott Ullrich almost 20 years ago

Use correct variable $config['system']['webgui']['protocol']

View differences:

etc/inc/system.inc
390 390
	if ($config['system']['webgui']['port'] <> "") {
391 391
		$port = $config['system']['webgui']['port'];
392 392
	} else {
393
		if($config['webguiproto'] == "https")
393
		if($config['system']['webgui']['protocol'] == "https")
394 394
			$port = "443";
395
		elseif($config['webguiproto'] == "http")
395
		elseif($config['system']['webgui']['protocol'] == "http")
396 396
			$port = "80";
397 397
		else
398 398
			$port = "80";

Also available in: Unified diff