aboutsummaryrefslogtreecommitdiffstats
path: root/packages/miniupnpd/miniupnpd.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-01-31 19:07:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-01-31 19:07:58 +0000
commit94bd7fbe83cb2d6e24947014bbdb63830e61a1a5 (patch)
treea2b9fbc28edb11f342f1cb5f8ac4d2ee11ac9d76 /packages/miniupnpd/miniupnpd.inc
parent8cf6e7fc03af4eb1aeca5622e50f91f94f425498 (diff)
downloadpfsense-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/miniupnpd/miniupnpd.inc')
-rw-r--r--packages/miniupnpd/miniupnpd.inc11
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