1 | <?php |
---|
2 | /** |
---|
3 | * @package Dotclear |
---|
4 | * |
---|
5 | * @copyright Olivier Meunier & Association Dotclear |
---|
6 | * @copyright GPL-2.0-only |
---|
7 | */ |
---|
8 | |
---|
9 | if (!defined('DC_RC_PATH')) {return;} |
---|
10 | |
---|
11 | // Database driver (mysql (deprecated, disabled in PHP7), mysqli, mysqlimb4 (full UTF-8), pgsql, sqlite) |
---|
12 | define('DC_DBDRIVER', ''); |
---|
13 | |
---|
14 | // Database hostname (usually "localhost") |
---|
15 | define('DC_DBHOST', ''); |
---|
16 | |
---|
17 | // Database user |
---|
18 | define('DC_DBUSER', ''); |
---|
19 | |
---|
20 | // Database password |
---|
21 | define('DC_DBPASSWORD', ''); |
---|
22 | |
---|
23 | // Database name |
---|
24 | define('DC_DBNAME', ''); |
---|
25 | |
---|
26 | // Tables' prefix |
---|
27 | define('DC_DBPREFIX', 'dc_'); |
---|
28 | |
---|
29 | // Persistent database connection |
---|
30 | define('DC_DBPERSIST', false); |
---|
31 | |
---|
32 | // Crypt key (password storage) |
---|
33 | define('DC_MASTER_KEY', ''); |
---|
34 | |
---|
35 | // Admin URL. You need to set it for some features. |
---|
36 | define('DC_ADMIN_URL', ''); |
---|
37 | |
---|
38 | // Admin mail from address. For password recovery and such. |
---|
39 | define('DC_ADMIN_MAILFROM', ''); |
---|
40 | |
---|
41 | // Cookie's name |
---|
42 | define('DC_SESSION_NAME', 'dcxd'); |
---|
43 | |
---|
44 | // Plugins root |
---|
45 | define('DC_PLUGINS_ROOT', dirname(__FILE__) . '/../plugins'); |
---|
46 | |
---|
47 | // Template cache directory |
---|
48 | define('DC_TPL_CACHE', path::real(dirname(__FILE__) . '/..') . '/cache'); |
---|
49 | |
---|
50 | // Var directory |
---|
51 | define('DC_VAR', path::real(dirname(__FILE__) . '/..') . '/var'); |
---|
52 | |
---|
53 | // Cryptographic algorithm |
---|
54 | define('DC_CRYPT_ALGO', 'sha512'); |
---|
55 | |
---|
56 | // If you have PATH_INFO issue, uncomment following lines |
---|
57 | //if (!isset($_SERVER['ORIG_PATH_INFO'])) { |
---|
58 | // $_SERVER['ORIG_PATH_INFO'] = ''; |
---|
59 | //} |
---|
60 | //$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO']; |
---|
61 | |
---|
62 | // If you have mail problems, uncomment following lines and adapt it to your hosting configuration |
---|
63 | // For more information about this setting, please refer to http://doc.dotclear.net/2.0/admin/install/custom-sendmail |
---|
64 | //function _mail($to, $subject, $message, $headers) |
---|
65 | //{ |
---|
66 | // socketMail::$smtp_relay = 'my.smtp.relay.org'; |
---|
67 | // socketMail::mail($to, $subject, $message, $headers); |
---|
68 | //} |
---|