From b76fedd3b07549b926b18148793c8f50373942bb Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 12 Aug 2010 16:14:10 -0400 Subject: single quotes instead of double quotes by default to prevent PHP from trying to parse a $ in a password as a variable. --- application/config/database.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/application/config/database.php b/application/config/database.php index a3226b184..24d611ac5 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -5,7 +5,7 @@ | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | -| For complete instructions please consult the "Database Connection" +| For complete instructions please consult the 'Database Connection' | page of the User Guide. | | ------------------------------------------------------------------- @@ -28,32 +28,32 @@ | ['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 +| ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections | - good for ensuring strict SQL while developing | | The $active_group variable lets you choose which connection group to -| make active. By default there is only one group (the "default" group). +| make active. By default there is only one group (the 'default' group). | | The $active_record variables lets you determine whether or not to load | the active record class */ -$active_group = "default"; +$active_group = 'default'; $active_record = TRUE; -$db['default']['hostname'] = "localhost"; -$db['default']['username'] = ""; -$db['default']['password'] = ""; -$db['default']['database'] = ""; -$db['default']['dbdriver'] = "mysql"; -$db['default']['dbprefix'] = ""; +$db['default']['hostname'] = 'localhost'; +$db['default']['username'] = ''; +$db['default']['password'] = ''; +$db['default']['database'] = ''; +$db['default']['dbdriver'] = 'mysql'; +$db['default']['dbprefix'] = ''; $db['default']['pconnect'] = TRUE; $db['default']['db_debug'] = TRUE; $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']['cachedir'] = ''; +$db['default']['char_set'] = 'utf8'; +$db['default']['dbcollat'] = 'utf8_general_ci'; +$db['default']['swap_pre'] = ''; $db['default']['autoinit'] = TRUE; $db['default']['stricton'] = FALSE; -- cgit v1.2.3-24-g4f1b