diff options
Diffstat (limited to 'packages/miniupnpd/status_upnp.php')
-rw-r--r-- | packages/miniupnpd/status_upnp.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/miniupnpd/status_upnp.php b/packages/miniupnpd/status_upnp.php index 37e9df62..23bcc8ea 100644 --- a/packages/miniupnpd/status_upnp.php +++ b/packages/miniupnpd/status_upnp.php @@ -31,6 +31,10 @@ require("guiconfig.inc"); +/* Defaults to this page but if no settings are present, redirect to setup page */ +if(!is_array($config['installedpackages']['miniupnpd']['config'][0]['interface_array'])) + Header("Location: /pkg_edit.php?xml=miniupnpd.xml&id=0"); + if ($_POST) { if ($_POST['clear'] == "Clear") { // stop |