Re: cvs: pear(NET_LDAP_0_6) /Net_LDAP LDAP.php

From: Date: Wed, 07 Jul 2004 19:13:56 +0000
Subject: Re: cvs: pear(NET_LDAP_0_6) /Net_LDAP LDAP.php
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-21610@lists.php.net to get a copy of this message
Hi Tarjei Huse, you wrote: > tarjei Wed Jul 7 15:04:55 2004 EDT > > Modified files: (Branch: NET_LDAP_0_6) > /pear/Net_LDAP LDAP.php > Log: > Fixed one documentationerror and added a check to see if php > supports the ldapextension. > function Net_LDAP($_config = array()) > { > + if (!function_exists('ldap_connect')){ > + return $this->raiseError("It seems that you do not have the ldap-extension > installed. Please install it before using this package."); > + } Please do not return anything in the constructor. Thanks, -- Michael - < mike(@)php.net >

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.pear.cvs (#21610) next »