diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-01-31 19:07:58 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-01-31 19:07:58 +0000 |
commit | 94bd7fbe83cb2d6e24947014bbdb63830e61a1a5 (patch) | |
tree | a2b9fbc28edb11f342f1cb5f8ac4d2ee11ac9d76 /packages | |
parent | 8cf6e7fc03af4eb1aeca5622e50f91f94f425498 (diff) | |
download | pfsense-packages-94bd7fbe83cb2d6e24947014bbdb63830e61a1a5.tar.gz pfsense-packages-94bd7fbe83cb2d6e24947014bbdb63830e61a1a5.tar.bz2 pfsense-packages-94bd7fbe83cb2d6e24947014bbdb63830e61a1a5.zip |
Check to see if function already exists (in base) before continuning
to load.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/miniupnpd/miniupnpd.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/packages/miniupnpd/miniupnpd.inc b/packages/miniupnpd/miniupnpd.inc index 6736d972..98e44951 100644 --- a/packages/miniupnpd/miniupnpd.inc +++ b/packages/miniupnpd/miniupnpd.inc @@ -1,4 +1,10 @@ <?php + +/* package is now in base, check to see + * if we are already being included + */ +if(!function_exists("upnp_action")) { + require_once("config.inc"); require_once("functions.inc"); @@ -278,4 +284,7 @@ EOD; config_unlock(); } -?> + +} + +?>
\ No newline at end of file |