From 893f47847b22a18cfaa1fc6185d001ec111597d7 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 1 Dec 2010 11:20:14 -0500 Subject: If the protocol is not set in the config, it defaults to https, so assume port 443 since the port isn't set either. --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 06f3773..b513df8 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2053,7 +2053,7 @@ EOD; if(!$config['system']['webgui']['port']) { if($config['system']['webgui']['protocol'] == "http") $webConfiguratorlockoutport = "80"; - elseif($config['system']['webgui']['protocol'] == "https") + else $webConfiguratorlockoutport = "443"; } else { $webConfiguratorlockoutport = $config['system']['webgui']['port']; -- cgit v1.1