diff options
author | Andrey Andreev <narf@devilix.net> | 2015-02-19 13:44:18 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-02-19 13:44:18 +0100 |
commit | 6c7c8917d853bcd4acdce930b9afa537b2fb8b95 (patch) | |
tree | 941174c3cefd673f9a713ac4e5773f6a1782f599 /application/config/database.php | |
parent | c545c0147636d8592fdcb7e8ec2c6df09399d485 (diff) |
Remove 'autoinit' DB setting
It doesn't make sense to do a load->database() call
but not connect to the database. IIRC there was more
stuff in CI_DB_driver::initialize() at some point,
so that was probably the reason why the setting
existed in the first place. However, now it only
results in users making invalid bug reports because
they don't understand the feature ...
Examples during just the past 2 weeks: #3571 #3601 #3607
Diffstat (limited to 'application/config/database.php')
-rw-r--r-- | application/config/database.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/application/config/database.php b/application/config/database.php index 5ee2af438..925b3e504 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -39,7 +39,6 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | multi-byte character set and are running versions lower than these. | 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. | ['encrypt'] Whether or not to use an encrypted connection. | ['compress'] Whether or not to use client compression (MySQL only) | ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections @@ -78,7 +77,6 @@ $db['default'] = array( 'char_set' => 'utf8', 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', - 'autoinit' => TRUE, 'encrypt' => FALSE, 'compress' => FALSE, 'stricton' => FALSE, |