mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Catch up with php5.
This commit is contained in:
parent
e54626e226
commit
0c331f1e42
@ -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... ";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user