Dotclear

source: inc/config.php.in @ 3260:cf9f7abdac2e

Revision 3260:cf9f7abdac2e, 1.9 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Add /var directory, closes #236 (until further needs)

RevLine 
[0]1<?php
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
[1179]6# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear
[0]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
[3137]14// Database driver (mysql (deprecated, disabled in PHP7), mysqli, pgsql, sqlite)
[0]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
[362]42// Admin mail from address. For password recovery and such.
43define('DC_ADMIN_MAILFROM','');
44
[0]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
[1535]52define('DC_TPL_CACHE',path::real(dirname(__FILE__).'/..').'/cache');
[0]53
[3260]54// Var directory
55define('DC_VAR',path::real(dirname(__FILE__).'/..').'/var');
56
[0]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//}
Note: See TracBrowser for help on using the repository browser.

Sites map