From ad1171a6797dc0054381327fb26a9e9e232a639e Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Wed, 10 Mar 2010 14:18:38 -0600 Subject: added swap_pre, autoinit, and stricton database configuration explanations --- system/application/config/database.php | 4 ++++ user_guide/changelog.html | 3 +++ user_guide/database/configuration.html | 15 ++++++++++++--- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/system/application/config/database.php b/system/application/config/database.php index 28dfff5c9..fcdefda71 100644 --- a/system/application/config/database.php +++ b/system/application/config/database.php @@ -26,6 +26,8 @@ | ['cachedir'] The path to the folder where cache files should be stored | ['char_set'] The character set used in communicating with the database | ['dbcollat'] The character collation used in communicating with the database +| ['swap_pre'] A default table prefix that should be swapped with the dbprefix +| ['autoinit'] Whether or not to automatically initialize the database. | ['stricton'] TRUE/FALSE - forces "Strict Mode" connections | - good for ensuring strict SQL while developing | @@ -51,6 +53,8 @@ $db['default']['cache_on'] = FALSE; $db['default']['cachedir'] = ""; $db['default']['char_set'] = "utf8"; $db['default']['dbcollat'] = "utf8_general_ci"; +$db['default']['swap_pre'] = ""; +$db['default']['autoinit'] = TRUE; $db['default']['stricton'] = FALSE; diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 822f394a9..95b1e6ccd 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -89,6 +89,9 @@ Hg Tag:

  • Database

    Note: Depending on what database platform you are using (MySQL, Postgres, etc.) -- cgit v1.2.3-24-g4f1b