function onAutoload($cls)
{
+ // we've added an extra include-path in the beginning of this file
switch ($cls)
{
case 'MemcacheSchemaCache':
require_once 'Net/LDAP2/Entry.php';
return false;
}
+
+ return true;
}
function get_ldap_config(){
mt_srand((double)microtime() * 1000000);
while( strlen( $str ) < $length )
- $str .= substr( $possible, ( rand() % strlen( $possible ) ), 1 );
+ $str .= substr( $possible, ( mt_rand() % strlen( $possible ) ), 1 );
return $str;
}