This commit is contained in:
parent
953355c2ba
commit
a6cf587ce1
@ -92,7 +92,7 @@ class Doctrine_Db implements Countable, IteratorAggregate, Doctrine_Adapter_Inte
|
||||
* @param string $user database username
|
||||
* @param string $pass database password
|
||||
*/
|
||||
public function __construct($dsn, $user, $pass)
|
||||
public function __construct($dsn, $user = null, $pass = null)
|
||||
{
|
||||
if ( ! isset($user)) {
|
||||
$a = self::parseDSN($dsn);
|
||||
|
Loading…
x
Reference in New Issue
Block a user