Take two:
[www-register-wizard.git] / application / config / database.php
1 <?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');\r
2 /*\r
3 | -------------------------------------------------------------------\r
4 | DATABASE CONNECTIVITY SETTINGS\r
5 | -------------------------------------------------------------------\r
6 | This file will contain the settings needed to access your database.\r
7 |\r
8 | For complete instructions please consult the "Database Connection"\r
9 | page of the User Guide.\r
10 |\r
11 | -------------------------------------------------------------------\r
12 | EXPLANATION OF VARIABLES\r
13 | -------------------------------------------------------------------\r
14 |\r
15 |       ['hostname'] The hostname of your database server.\r
16 |       ['username'] The username used to connect to the database\r
17 |       ['password'] The password used to connect to the database\r
18 |       ['database'] The name of the database you want to connect to\r
19 |       ['dbdriver'] The database type. ie: mysql.  Currently supported:\r
20                                  mysql, mysqli, postgre, odbc, mssql, sqlite, oci8\r
21 |       ['dbprefix'] You can add an optional prefix, which will be added\r
22 |                                to the table name when using the  Active Record class\r
23 |       ['pconnect'] TRUE/FALSE - Whether to use a persistent connection\r
24 |       ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.\r
25 |       ['cache_on'] TRUE/FALSE - Enables/disables query caching\r
26 |       ['cachedir'] The path to the folder where cache files should be stored\r
27 |       ['char_set'] The character set used in communicating with the database\r
28 |       ['dbcollat'] The character collation used in communicating with the database\r
29 |\r
30 | The $active_group variable lets you choose which connection group to\r
31 | make active.  By default there is only one group (the "default" group).\r
32 |\r
33 | The $active_record variables lets you determine whether or not to load\r
34 | the active record class\r
35 */\r
36 \r
37 $active_group = "default";\r
38 $active_record = TRUE;\r
39 \r
40 $db['default']['hostname'] = "localhost";\r
41 $db['default']['username'] = "";\r
42 $db['default']['password'] = "";\r
43 $db['default']['database'] = "";\r
44 $db['default']['dbdriver'] = "mysql";\r
45 $db['default']['dbprefix'] = "";\r
46 $db['default']['pconnect'] = TRUE;\r
47 $db['default']['db_debug'] = TRUE;\r
48 $db['default']['cache_on'] = FALSE;\r
49 $db['default']['cachedir'] = "";\r
50 $db['default']['char_set'] = "utf8";\r
51 $db['default']['dbcollat'] = "utf8_general_ci";\r
52 \r
53 \r
54 /* End of file database.php */\r
55 /* Location: ./system/application/config/database.php */