diff options
author | Michiel Vugteveen <michiel@it-can.nl> | 2012-08-20 17:35:38 +0200 |
---|---|---|
committer | Michiel Vugteveen <michiel@it-can.nl> | 2012-08-20 17:35:38 +0200 |
commit | 0b1d56f08b5d95046a367ed65c7aef6c8d717bc3 (patch) | |
tree | 4eb45a47d558555b9b9db1211c6ffb0f26841127 /application | |
parent | 58854c372175552bb9e360deace7eeb52cdda059 (diff) |
database added config option
Diffstat (limited to 'application')
-rw-r--r-- | application/config/database.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/config/database.php b/application/config/database.php index bb0d87be0..4c5cad03f 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -63,6 +63,7 @@ | Sites using Latin-1 or UTF-8 database character set and collation are unaffected. | ['swap_pre'] A default table prefix that should be swapped with the dbprefix | ['autoinit'] Whether or not to automatically initialize the database. +| ['compress'] Whether or not to use client compression (only MySQL and MySQLi) | ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections | - good for ensuring strict SQL while developing | ['failover'] array - A array with 0 or more data for connections if the main should fail. @@ -93,6 +94,7 @@ $db['default'] = array( 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', 'autoinit' => TRUE, + 'compress' => TRUE, 'stricton' => FALSE, 'failover' => array() ); |