1
0
mirror of synced 2025-01-20 07:21:40 +03:00
This commit is contained in:
zYne 2007-01-01 17:47:04 +00:00
parent 953355c2ba
commit a6cf587ce1

View File

@ -92,7 +92,7 @@ class Doctrine_Db implements Countable, IteratorAggregate, Doctrine_Adapter_Inte
* @param string $user database username * @param string $user database username
* @param string $pass database password * @param string $pass database password
*/ */
public function __construct($dsn, $user, $pass) public function __construct($dsn, $user = null, $pass = null)
{ {
if ( ! isset($user)) { if ( ! isset($user)) {
$a = self::parseDSN($dsn); $a = self::parseDSN($dsn);