summaryrefslogtreecommitdiff
path: root/plugins/LdapCommon/LdapCommon.php
diff options
context:
space:
mode:
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();