[ Index ] |
|
Code source de Phorum 5.1.25 |
1 <?php 2 /* 3 4 This file holds the configuration for letting Phorum connect to your 5 database server. A detailed description of the used configuration fields 6 can be found below. 7 8 If you are running your site with a hosting provider and you do not 9 know what to fill in here, please contact your hosting provider for 10 advice. 11 12 */ 13 14 if(!defined('PHORUM')) return; 15 16 $PHORUM['DBCONFIG']=array( 17 18 // Database connection. 19 'type' => 'mysql', 20 'name' => 'phorum5', 21 'server' => 'localhost', 22 'user' => 'phorum5', 23 'password' => 'phorum5', 24 'table_prefix' => 'phorum', 25 26 // 'down_page' => 'http://www.example.com/phorum/down.html', 27 28 // 1=enabled, 0=disabled 29 // (always disable this option for MySQL versions prior to 4.0.18!) 30 'mysql_use_ft' => '1' 31 ); 32 33 /* 34 35 DETAILED CONFIGURATION FIELD DESCRIPTION 36 ---------------------------------------- 37 38 * type: 39 40 The type of database. Typically 'mysql' (the only database type which 41 is officially supported by the Phorum distribution). If your PHP version 42 supports the mysqli interface, then you can also use 'mysqli'. 43 Do not change this value, unless you know what you are doing. 44 45 * name: 46 47 The name of the database. 48 49 * server: 50 51 The hostname or IP-address of the database server. You only need to 52 change this if the database server is running on a different system. 53 54 * user: 55 56 The username which is used for accessing the database server. The 57 user must have full access rights to the database, for creating and 58 maintaining the needed tables. 59 60 * password: 61 62 The password for the database user. 63 64 * table_prefix: 65 66 This table prefix will be at the front of all table names that are 67 created and used by Phorum. You only need to change this in case you 68 are using the same database for multiple Phorum installations. 69 By changing the table prefix you can prevent the tables from the 70 installations from colliding. E.g. set the table prefix for one 71 installation to "phorum1" and the other to "phorum2". 72 Important: never change the table prefix for a running system. 73 74 * down_page: 75 76 An optional URL for redirecting the user when database is down. 77 If you want to use this field, remove the "//" in front of it. 78 79 * mysql_use_ft (MySQL-only option): 80 81 This field determines whether Phorum will use MySQL's full text 82 algorithm for searching postings. If enabled, searching for postings 83 will be much faster. You will have to disable this feature in case you 84 are running a database version prior to MySQL 4.0.18. Also disable 85 it in case your hosting provider does not allow you to create 86 temporary tables in the database. 87 */ 88 89 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:22:27 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |