diff options
Diffstat (limited to 'application/config/example/database.php')
-rwxr-xr-x | application/config/example/database.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/application/config/example/database.php b/application/config/example/database.php index 32a4d7e11..ee6b76a06 100755 --- a/application/config/example/database.php +++ b/application/config/example/database.php @@ -26,6 +26,12 @@ | ['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 +| NOTE: For MySQL and MySQLi databases, this setting is only used +| as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7. +| There is an incompatibility in PHP with mysql_real_escape_string() which +| can make your site vulnerable to SQL injection if you are using a +| 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. | ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections |