]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/LdapCommon/LdapCommon.php
Move the bundled Net/LDAP2 library to the LdapCommon directory
[quix0rs-gnu-social.git] / plugins / LdapCommon / LdapCommon.php
index e2ca569f391598d8fa534d019d3c994b20e81053..ee436d8243cf13c27b9ca1dd99b174527ea7afe1 100644 (file)
@@ -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();