Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 74... Línea 74...
74
			$e = 'Could not connect to ' . $conn_info[0];
74
			$e = 'Could not connect to ' . $conn_info[0];
75
			$this->_errorMsg = $e;
75
			$this->_errorMsg = $e;
76
			if ($this->debug) ADOConnection::outp($e);
76
			if ($this->debug) ADOConnection::outp($e);
77
			return false;
77
			return false;
78
		}
78
		}
79
		if( count( $LDAP_CONNECT_OPTIONS ) > 0 ) {
79
		if(!empty($LDAP_CONNECT_OPTIONS)) {
80
			$this->_inject_bind_options( $LDAP_CONNECT_OPTIONS );
80
			$this->_inject_bind_options( $LDAP_CONNECT_OPTIONS );
81
		}
81
		}
Línea 82... Línea 82...
82
 
82
 
83
		if ($username) {
83
		if ($username) {