[0] | 1 | <?php |
---|
[3731] | 2 | /** |
---|
| 3 | * @package Dotclear |
---|
| 4 | * |
---|
| 5 | * @copyright Olivier Meunier & Association Dotclear |
---|
| 6 | * @copyright GPL-2.0-only |
---|
| 7 | */ |
---|
| 8 | |
---|
[3730] | 9 | if (!defined('DC_RC_PATH')) {return;} |
---|
[0] | 10 | |
---|
[3565] | 11 | // Database driver (mysql (deprecated, disabled in PHP7), mysqli, mysqlimb4 (full UTF-8), pgsql, sqlite) |
---|
[3730] | 12 | define('DC_DBDRIVER', ''); |
---|
[0] | 13 | |
---|
| 14 | // Database hostname (usually "localhost") |
---|
[3730] | 15 | define('DC_DBHOST', ''); |
---|
[0] | 16 | |
---|
| 17 | // Database user |
---|
[3730] | 18 | define('DC_DBUSER', ''); |
---|
[0] | 19 | |
---|
| 20 | // Database password |
---|
[3730] | 21 | define('DC_DBPASSWORD', ''); |
---|
[0] | 22 | |
---|
| 23 | // Database name |
---|
[3730] | 24 | define('DC_DBNAME', ''); |
---|
[0] | 25 | |
---|
| 26 | // Tables' prefix |
---|
[3730] | 27 | define('DC_DBPREFIX', 'dc_'); |
---|
[0] | 28 | |
---|
| 29 | // Persistent database connection |
---|
[3730] | 30 | define('DC_DBPERSIST', false); |
---|
[0] | 31 | |
---|
| 32 | // Crypt key (password storage) |
---|
[3730] | 33 | define('DC_MASTER_KEY', ''); |
---|
[0] | 34 | |
---|
| 35 | // Admin URL. You need to set it for some features. |
---|
[3730] | 36 | define('DC_ADMIN_URL', ''); |
---|
[0] | 37 | |
---|
[362] | 38 | // Admin mail from address. For password recovery and such. |
---|
[3730] | 39 | define('DC_ADMIN_MAILFROM', ''); |
---|
[362] | 40 | |
---|
[0] | 41 | // Cookie's name |
---|
[3730] | 42 | define('DC_SESSION_NAME', 'dcxd'); |
---|
[0] | 43 | |
---|
[3789] | 44 | // Session TTL |
---|
| 45 | //define('DC_SESSION_TTL','120 seconds'); |
---|
| 46 | |
---|
[0] | 47 | // Plugins root |
---|
[3730] | 48 | define('DC_PLUGINS_ROOT', dirname(__FILE__) . '/../plugins'); |
---|
[0] | 49 | |
---|
| 50 | // Template cache directory |
---|
[3730] | 51 | define('DC_TPL_CACHE', path::real(dirname(__FILE__) . '/..') . '/cache'); |
---|
[0] | 52 | |
---|
[3260] | 53 | // Var directory |
---|
[3730] | 54 | define('DC_VAR', path::real(dirname(__FILE__) . '/..') . '/var'); |
---|
[3260] | 55 | |
---|
[3533] | 56 | // Cryptographic algorithm |
---|
[3730] | 57 | define('DC_CRYPT_ALGO', 'sha512'); |
---|
[0] | 58 | |
---|
[3789] | 59 | // Vendor name |
---|
| 60 | //define('DC_VENDOR_NAME', 'Dotclear'); |
---|
| 61 | |
---|
| 62 | // Do not check for update |
---|
| 63 | //define('DC_NOT_UPDATE', false); |
---|
| 64 | |
---|
| 65 | // Update URL |
---|
| 66 | //define('DC_UPDATE_URL','http://download.dotclear.org/versions.xml'); |
---|
| 67 | |
---|
| 68 | // Update channel (stable, unstable, testing) |
---|
| 69 | //define('DC_UPDATE_VERSION', 'stable'); |
---|
| 70 | |
---|
| 71 | // Proxy config |
---|
| 72 | //define('HTTP_PROXY_HOST','127.0.0.1'); |
---|
| 73 | //define('HTTP_PROXY_PORT','8080'); |
---|
| 74 | |
---|
| 75 | // Show hidden media dirs |
---|
| 76 | //define('DC_SHOW_HIDDEN_DIRS', false); |
---|
| 77 | |
---|
[0] | 78 | // If you have PATH_INFO issue, uncomment following lines |
---|
| 79 | //if (!isset($_SERVER['ORIG_PATH_INFO'])) { |
---|
[3730] | 80 | // $_SERVER['ORIG_PATH_INFO'] = ''; |
---|
[0] | 81 | //} |
---|
| 82 | //$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO']; |
---|
| 83 | |
---|
| 84 | // If you have mail problems, uncomment following lines and adapt it to your hosting configuration |
---|
| 85 | // For more information about this setting, please refer to http://doc.dotclear.net/2.0/admin/install/custom-sendmail |
---|
[3730] | 86 | //function _mail($to, $subject, $message, $headers) |
---|
[0] | 87 | //{ |
---|
[3730] | 88 | // socketMail::$smtp_relay = 'my.smtp.relay.org'; |
---|
| 89 | // socketMail::mail($to, $subject, $message, $headers); |
---|
[0] | 90 | //} |
---|