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';