From 5504bf1901a8fdc25312dcfa56186b88e27705de Mon Sep 17 00:00:00 2001 From: Andreas Piening Date: Wed, 14 Apr 2010 03:07:20 +0000 Subject: [PATCH] MINOR: SQLiteDatabase defaults to the sqlite3 class instead of the PDO class --- _config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.php b/_config.php index 072f2bb..29eab1f 100644 --- a/_config.php +++ b/_config.php @@ -23,7 +23,7 @@ if(in_array($databaseConfig['type'], $classes)) { ); // The SQLite3 class is available in PHP 5.3 and newer - if(class_exists('SQLite3') && $databaseConfig['type'] == 'SQLite3Database') { + if(class_exists('SQLite3') && $databaseConfig['type'] != 'SQLitePDODatabase') { $databaseConfig['type'] = 'SQLite3Database'; } else { $databaseConfig['type'] = 'SQLitePDODatabase';