summaryrefslogtreecommitdiffstats
path: root/etc/inc/voucher.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-22 11:42:20 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-22 11:42:20 -0500
commit4e8d55ddc814fd8a329f6b96e4d58b3522f5a18d (patch)
tree795d5122525b8cce00e5c45dbd27986e44d38652 /etc/inc/voucher.inc
parent34507786be2695aa7942a95bba8869abf23420a8 (diff)
downloadpfsense-4e8d55ddc814fd8a329f6b96e4d58b3522f5a18d.zip
pfsense-4e8d55ddc814fd8a329f6b96e4d58b3522f5a18d.tar.gz
Include captiveportal.inc if captiveportal_syslog() is not defined.
Diffstat (limited to 'etc/inc/voucher.inc')
-rw-r--r--etc/inc/voucher.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc
index f17fe28..febb0f7 100644
--- a/etc/inc/voucher.inc
+++ b/etc/inc/voucher.inc
@@ -34,6 +34,8 @@
*/
/* include all configuration functions */
+if(!function_exists('captiveportal_syslog'))
+ require_once("captiveportal.inc");
function xmlrpc_sync_used_voucher($voucher_received, $syncip, $port, $password, $username) {
global $g, $config;
OpenPOWER on IntegriCloud