From 9524b03393be845824c8dccb54c5400d58051615 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 16 Jan 2007 19:34:47 +0000 Subject: [PATCH] --- lib/Doctrine/Db.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') {