diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-27 11:18:26 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-27 11:18:26 +0200 |
commit | 1fcce9667fe8d1925a36549e22124411f5828230 (patch) | |
tree | 56e5cb2c50831a50b7c79ea216645846ea59e8ab /application/config/database.php | |
parent | b8949fab60082e17f219fc89c6c8a85d3ff73f19 (diff) | |
parent | ced2c9ab41450cb632c042730604111ec2a24e1f (diff) |
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-mssql
Diffstat (limited to 'application/config/database.php')
-rw-r--r-- | application/config/database.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/application/config/database.php b/application/config/database.php index 8c06dd2e6..19498735c 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -43,9 +43,10 @@ | ['password'] The password used to connect to the database | ['database'] The name of the database you want to connect to | ['dbdriver'] The database type. e.g.: mysql. Currently supported: - mysql, mysqli, pdo, postgre, odbc, mssql, sqlite, oci8 +| cubrid, interbase, mssql, mysql, mysqli, oci8, +| odbc, pdo, postgre, sqlite, sqlite3, sqlsrv | ['dbprefix'] You can add an optional prefix, which will be added -| to the table name when using the Active Record class +| to the table name when using the Query Builder class | ['pconnect'] TRUE/FALSE - Whether to use a persistent connection | ['db_debug'] TRUE/FALSE - Whether database errors should be displayed. | ['cache_on'] TRUE/FALSE - Enables/disables query caching @@ -68,12 +69,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 +| The $query_builder variables lets you determine whether or not to load +| the query builder class */ $active_group = 'default'; -$active_record = TRUE; +$query_builder = TRUE; $db['default'] = array( 'dsn' => '', |