diff options
author | Derek Allard <derek.allard@ellislab.com> | 2010-08-12 22:14:10 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2010-08-12 22:14:10 +0200 |
commit | b76fedd3b07549b926b18148793c8f50373942bb (patch) | |
tree | 5eaf470ca7d59d02a7842a47a5951421ebc3a68f /application/config/database.php | |
parent | 23b7776accc6ebfa377c9b54bd04baaaf0c00132 (diff) |
single quotes instead of double quotes by default to prevent PHP from trying to parse a $ in a password as a variable.
Diffstat (limited to 'application/config/database.php')
-rw-r--r-- | application/config/database.php | 28 |
1 files 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; |