From 75d568db823b8fe7526e416f5e3f1c2c235f5473 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Wed, 30 Jan 2008 20:26:25 +0000 Subject: removed 'active_r' db config variable, replaced with global $active_record setting. (bug report #1834) --- system/application/config/database.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'system/application/config/database.php') diff --git a/system/application/config/database.php b/system/application/config/database.php index 59b973981..472affbe5 100644 --- a/system/application/config/database.php +++ b/system/application/config/database.php @@ -22,7 +22,6 @@ | to the table name when using the Active Record class | ['pconnect'] TRUE/FALSE - Whether to use a persistent connection | ['db_debug'] TRUE/FALSE - Whether database errors should be displayed. -| ['active_r'] TRUE/FALSE - Whether to load the active record class | ['cache_on'] TRUE/FALSE - Enables/disables query caching | ['cachedir'] The path to the folder where cache files should be stored | ['char_set'] The character set used in communicating with the database @@ -31,9 +30,12 @@ | The $active_group variable lets you choose which connection group to | 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_record = TRUE; $db['default']['hostname'] = "localhost"; $db['default']['username'] = ""; -- cgit v1.2.3-24-g4f1b