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