diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-03-08 14:29:51 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-03-08 14:29:51 +0000 |
commit | 0c331f1e42cc19f2ba9a60499da474acd811cf44 (patch) | |
tree | 69ac4f7a8d011215d5c9fdc902aa7cb4e94fa8a7 | |
parent | e54626e226aec8f154d45c6bc0059b5720ac94d5 (diff) | |
download | pfsense-0c331f1e42cc19f2ba9a60499da474acd811cf44.zip pfsense-0c331f1e42cc19f2ba9a60499da474acd811cf44.tar.gz |
Catch up with php5.
-rw-r--r-- | etc/inc/services.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 0d46b80..0e82bba 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -1261,6 +1261,10 @@ function upnp_action ($action) { function upnp_start() { global $config, $g; + + if(!isset($config['installedpackages']['miniupnpd']['config'])) + return; + if($config['installedpackages']['miniupnpd']['config'][0]['enable']) { if($g['booting']) { echo "Starting UPnP service... "; |