summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-07-28 10:00:26 +0000
committerErmal Luçi <eri@pfsense.org>2009-07-28 10:00:26 +0000
commitf4875d35adc7840f6a8aad1ede6f762f814aef43 (patch)
tree6a28d4024320d2df5dc23c3b54ec40557e1f704d /etc
parent16f78ff043340b3f2f5d5bd74a9a58285e6dc51d (diff)
downloadpfsense-f4875d35adc7840f6a8aad1ede6f762f814aef43.zip
pfsense-f4875d35adc7840f6a8aad1ede6f762f814aef43.tar.gz
Add better checks to the lighty port setting to prevent some issues with php5 arrays and wrongly set values.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 38837e1..9ef73d0 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -519,7 +519,7 @@ function system_webgui_start() {
$key = "";
/* non-standard port? */
- if ($config['system']['webgui']['port'])
+ if (isset($config['system']['webgui']['port']) && $config['system']['webgui']['port'] <> "")
$portarg = "{$config['system']['webgui']['port']}";
if ($config['system']['webgui']['protocol'] == "https") {
OpenPOWER on IntegriCloud