mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
$g needs to be a global. Resolves #1654
This commit is contained in:
parent
44a4d54dd3
commit
d8532e5db1
@ -1272,6 +1272,7 @@ function configure_cron() {
|
||||
}
|
||||
|
||||
function upnp_action ($action) {
|
||||
global $g, $config;
|
||||
switch($action) {
|
||||
case "start":
|
||||
if (file_exists('/var/etc/miniupnpd.conf')) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user