summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-20 21:41:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-20 21:41:02 +0000
commit8798990f2ad4f0bbe035cb8ac12cd9690df83e2b (patch)
tree265e16a1b26708abc7f5d5e857e9db5f4136e9df /etc/inc/system.inc
parentdd1e244a9ebe0f27410bd0aa6c3436953d1d57c8 (diff)
downloadpfsense-8798990f2ad4f0bbe035cb8ac12cd9690df83e2b.zip
pfsense-8798990f2ad4f0bbe035cb8ac12cd9690df83e2b.tar.gz
Use correct variable $config['system']['webgui']['protocol']
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index ff27fa0..0bb3aa0 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -390,9 +390,9 @@ EOD;
if ($config['system']['webgui']['port'] <> "") {
$port = $config['system']['webgui']['port'];
} else {
- if($config['webguiproto'] == "https")
+ if($config['system']['webgui']['protocol'] == "https")
$port = "443";
- elseif($config['webguiproto'] == "http")
+ elseif($config['system']['webgui']['protocol'] == "http")
$port = "80";
else
$port = "80";
OpenPOWER on IntegriCloud