Changeset 4730 in subversion
- Timestamp:
- May 4, 2011 3:31:42 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_ldap.php
r4662 r4730 128 128 if (!function_exists('ldap_connect')) 129 129 raise_error(array('code' => 100, 'type' => 'ldap', 130 'file' => __FILE__, 'line' => __LINE__, 131 'message' => "No ldap support in this installation of PHP"), true); 130 'file' => __FILE__, 'line' => __LINE__, 131 'message' => "No ldap support in this installation of PHP"), 132 true, true); 132 133 133 134 if (is_resource($this->conn)) … … 252 253 253 254 if (!function_exists('ldap_sasl_bind')) { 254 raise_error(array( 255 'code' => 100, 'type' => 'ldap', 255 raise_error(array('code' => 100, 'type' => 'ldap', 256 256 'file' => __FILE__, 'line' => __LINE__, 257 257 'message' => "Unable to bind: ldap_sasl_bind() not exists"), 258 true, true);258 true, true); 259 259 } 260 260 … … 311 311 $this->_debug("S: ".ldap_error($this->conn)); 312 312 313 $error =array(314 'code' => ldap_errno($this->conn), 'type' => 'ldap',315 'file' => __FILE__, 'line' => __LINE__,316 'message' => "Bind failed for dn=$dn: ".ldap_error($this->conn));317 raise_error($error,true);313 raise_error(array( 314 'code' => ldap_errno($this->conn), 'type' => 'ldap', 315 'file' => __FILE__, 'line' => __LINE__, 316 'message' => "Bind failed for dn=$dn: ".ldap_error($this->conn)), 317 true); 318 318 319 319 return false;
Note: See TracChangeset
for help on using the changeset viewer.
