From 022afe8a5a794c8bf957ab5631e1d0e556e41ad5 Mon Sep 17 00:00:00 2001 From: Andreas Piening Date: Sun, 13 Jun 2010 22:20:21 +0000 Subject: [PATCH] MINOR: don't override config settings --- _config.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/_config.php b/_config.php index 29eab1f..896fb23 100644 --- a/_config.php +++ b/_config.php @@ -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') {