summaryrefslogtreecommitdiff
path: root/plugins/LdapCommon/LdapCommon.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-03-23 21:57:47 -0400
committerCraig Andrews <candrews@integralblue.com>2010-03-23 21:57:47 -0400
commit1f73156daeef47cf8a7214936383fbc496255fd7 (patch)
tree36d187f51b57f0df079d0c05d77bdcd807f30159 /plugins/LdapCommon/LdapCommon.php
parent6b538cd9b31ffa25d2046e16d47a0cde26d0398f (diff)
Move the bundled Net/LDAP2 library to the LdapCommon directory
Diffstat (limited to 'plugins/LdapCommon/LdapCommon.php')
-rw-r--r--plugins/LdapCommon/LdapCommon.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/LdapCommon/LdapCommon.php b/plugins/LdapCommon/LdapCommon.php
index e2ca569f3..ee436d824 100644
--- a/plugins/LdapCommon/LdapCommon.php
+++ b/plugins/LdapCommon/LdapCommon.php
@@ -31,6 +31,9 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
+// We bundle the Net/LDAP2 library...
+set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/extlib');
+
class LdapCommon
{
protected static $ldap_connections = array();