Changeset 4559
- Timestamp:
- 06/25/08 03:48:36 (7 months ago)
- Files:
-
- 1 modified
-
branches/0.11/lib/Doctrine/Connection.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/lib/Doctrine/Connection.php
r4550 r4559 439 439 public function connect() 440 440 { 441 442 441 if ($this->isConnected) { 443 442 return false; … … 455 454 try { 456 455 $this->dbh = new PDO($this->options['dsn'], $this->options['username'], 457 $this->options['password'], $this->options['other']);458 456 (!$this->options['password'] ? '':$this->options['password']), $this->options['other']); 457 459 458 $this->dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 460 459 } catch (PDOException $e) {