Dotclear

source: inc/config.php.in @ 1535:5878d21ef9b9

Revision 1535:5878d21ef9b9, 1.8 KB checked in by Lepeltier kévin, 12 years ago (diff)

ticket #1406
Déplacement du message d'erreur du dossier cache pendant la phase d'installation
Vers le Dashboard.
Ajout d'un message d'erreur concernant le dossier public, sur le Dashboard.
Deux phrases ajouté pour la traduction.
"Cache directory %s does not exist."
"Directory %s is not writable."

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, 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
55// If you have PATH_INFO issue, uncomment following lines
56//if (!isset($_SERVER['ORIG_PATH_INFO'])) {
57//   $_SERVER['ORIG_PATH_INFO'] = '';
58//}
59//$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
60
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//}
69
70?>
Note: See TracBrowser for help on using the repository browser.

Sites map