Changeset 3937
- Timestamp:
- 03/06/08 06:25:21 (16 months ago)
- Files:
-
- 1 modified
-
branches/0.10/lib/Doctrine/Manager.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Manager.php
r3884 r3937 64 64 */ 65 65 protected $_queryRegistry; 66 67 protected static $driverMap = array('oci' => 'oracle');68 66 69 67 /** … … 421 419 } 422 420 423 if (isset(self::$driverMap[$parts['scheme']])) {424 $parts['scheme'] = self::$driverMap[$parts['scheme']];425 }426 427 421 $parts['dsn'] = $parts['scheme'] . ':host=' 428 422 . $parts['host'] . (isset($parts['port']) ? ':' . $parts['port']:null) . ';dbname=' … … 450 444 } 451 445 452 if (isset(self::$driverMap[$parts['scheme']])) {453 $parts['scheme'] = self::$driverMap[$parts['scheme']];454 }455 456 446 $parts['dsn'] = $parts['scheme'] . ':host=' 457 447 . $parts['host'] . (isset($parts['port']) ? ';port=' . $parts['port']:null) . ';dbname='