Dotclear

source: inc/config.php.in @ 3533:05b2dd45afd3

Revision 3533:05b2dd45afd3, 2.0 KB checked in by franck <carnet.franck.paul@…>, 8 years ago (diff)

Switch hash method from sha1 to sha512 (new installation)

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

Sites map