| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
// |
|---|
| 4 |
// The type of database server you are using. By default |
|---|
| 5 |
// Gregarius will look for a MySQL database server. If you |
|---|
| 6 |
// would like to use an SQLite database, change accordingly |
|---|
| 7 |
// |
|---|
| 8 |
define ('DBTYPE','mysql'); |
|---|
| 9 |
//define ('DBTYPE',"sqlite"); |
|---|
| 10 |
|
|---|
| 11 |
// |
|---|
| 12 |
// The name of your database |
|---|
| 13 |
// |
|---|
| 14 |
define ('DBNAME','database_name'); |
|---|
| 15 |
|
|---|
| 16 |
// |
|---|
| 17 |
// The username to use when connecting to the database. Make sure that |
|---|
| 18 |
// thus user owns privileges to CREATE database tables on the above |
|---|
| 19 |
// database! |
|---|
| 20 |
// |
|---|
| 21 |
define ('DBUNAME','database_username'); |
|---|
| 22 |
|
|---|
| 23 |
// |
|---|
| 24 |
// The password to use when connecting to the database |
|---|
| 25 |
// |
|---|
| 26 |
define ('DBPASS', 'database_password'); |
|---|
| 27 |
|
|---|
| 28 |
// |
|---|
| 29 |
// If you are using a MySQL database: |
|---|
| 30 |
// The hostname of your database server. Unless you know |
|---|
| 31 |
// different this should probably be 'localhost' or '127.0.0.1' |
|---|
| 32 |
// |
|---|
| 33 |
// If you are using a SQLite database: |
|---|
| 34 |
// This constant must contain the full path to your database file, |
|---|
| 35 |
// for example: '/tmp/gregarius.db' |
|---|
| 36 |
// Note that the apache process must have write access privileges |
|---|
| 37 |
// on the given directory! |
|---|
| 38 |
// |
|---|
| 39 |
define ('DBSERVER', 'localhost'); |
|---|
| 40 |
|
|---|
| 41 |
// |
|---|
| 42 |
// The table name prefix to use. If you specify anything here, |
|---|
| 43 |
// say 'gregarius', your database table 'channels' will be referred to |
|---|
| 44 |
// as 'gregarius_channels'. This is useful to avoid table collisions when |
|---|
| 45 |
// your hosting provider only grants you one single database and several |
|---|
| 46 |
// applications rely on that db. |
|---|
| 47 |
// |
|---|
| 48 |
// If this is not the case you can safely ignore this option. |
|---|
| 49 |
// |
|---|
| 50 |
//define ('DB_TABLE_PREFIX',''); |
|---|
| 51 |
|
|---|
| 52 |
?> |
|---|