diff --git a/lib/Doctrine/Db.php b/lib/Doctrine/Db.php index 211cc3752..3b61e7105 100644 --- a/lib/Doctrine/Db.php +++ b/lib/Doctrine/Db.php @@ -273,10 +273,11 @@ class Doctrine_Db implements Countable, IteratorAggregate, Doctrine_Adapter_Inte $drivers = self::getAvailableDrivers(); $parts['scheme'] = self::driverName($parts['scheme']); - + /** if ( ! in_array($parts['scheme'], $drivers)) { throw new Doctrine_Db_Exception('Driver '.$parts['scheme'].' not availible or extension not loaded'); } + */ switch ($parts['scheme']) { case 'sqlite': if (isset($parts['host']) && $parts['host'] == ':memory') {