RE: [PEAR-DEV] Auth bug

From: Date: Mon, 12 Aug 2002 15:57:43 +0000
Subject: RE: [PEAR-DEV] Auth bug
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8326@lists.php.net to get a copy of this message
> Well, the current Auth package does not contain this line : > 97 if (is_string($dsn)) { > 98 $this->db = DB::Connect($dsn); > > But, cannot be consider as a bug, afaik, DB::Connect accepts > dsn as array. In this case, the options given to the Auth > constructor can be : DB::connect accept arrays that's right. But the problem is that auth does not pass the array since it just does is_string() ... > $options['dsn'] = array( > .... dsn array stuffs.... > ); > > I remember a discussion with Martin months ago about the > choosed parsing method in Auth, so I m not pretty sure with > that (:)), but seems to be normal and need to add the array > test to the current cvs. > > hth > > pa >

« previous php.pear.dev (#8326) next »