Re: PDO driver in CVS
Lukas Kahwe Smith <[email protected]> Tue, 06 Dec 2005 12:23:44 +0100
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Arnaud Limbourg wrote:
> The code does the check on elements presence (or should :)
it does not ..
$options = $login = $password = $extra = null;
if (isset($conf['storage']['options'])) {
$options = $conf['storage']['options'];
$login = $options['user'];
$password = $options['passwd'];
if (isset($options['attr'])) {
$extra = $options['attr'];
}
}
so if you have options you must have a username and password defined
even if you just care about attributes (or username) ..
btw .. the keys should probably be username and password as well ..
regards,
Lukas