mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
MINOR: don't override config settings
This commit is contained in:
parent
91cd328611
commit
022afe8a5a
@ -17,10 +17,8 @@ if(in_array($databaseConfig['type'], $classes)) {
|
||||
* set pragma values on the connection.
|
||||
* @see http://www.sqlite.org/pragma.html
|
||||
*/
|
||||
SQLite3Database::$default_pragma = array(
|
||||
'encoding' => '"UTF-8"',
|
||||
'locking_mode' => 'NORMAL',
|
||||
);
|
||||
SQLite3Database::$default_pragma['encoding'] = '"UTF-8"';
|
||||
SQLite3Database::$default_pragma['locking_mode'] = 'NORMAL';
|
||||
|
||||
// The SQLite3 class is available in PHP 5.3 and newer
|
||||
if(class_exists('SQLite3') && $databaseConfig['type'] != 'SQLitePDODatabase') {
|
||||
|
Loading…
Reference in New Issue
Block a user