$g needs to be a global. Resolves #1654

This commit is contained in:
Scott Ullrich 2011-07-07 15:16:21 -04:00 committed by jim-p
parent 44a4d54dd3
commit d8532e5db1

View File

@ -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')) {