diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-07-28 10:00:26 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-07-28 10:00:26 +0000 |
commit | f4875d35adc7840f6a8aad1ede6f762f814aef43 (patch) | |
tree | 6a28d4024320d2df5dc23c3b54ec40557e1f704d | |
parent | 16f78ff043340b3f2f5d5bd74a9a58285e6dc51d (diff) | |
download | pfsense-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.
-rw-r--r-- | etc/inc/system.inc | 2 |
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") { |