diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-20 21:41:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-20 21:41:02 +0000 |
commit | 8798990f2ad4f0bbe035cb8ac12cd9690df83e2b (patch) | |
tree | 265e16a1b26708abc7f5d5e857e9db5f4136e9df | |
parent | dd1e244a9ebe0f27410bd0aa6c3436953d1d57c8 (diff) | |
download | pfsense-8798990f2ad4f0bbe035cb8ac12cd9690df83e2b.zip pfsense-8798990f2ad4f0bbe035cb8ac12cd9690df83e2b.tar.gz |
Use correct variable $config['system']['webgui']['protocol']
-rw-r--r-- | etc/inc/system.inc | 4 |
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"; |