Dotclear

source: inc/config.php.in @ 3731:3770620079d4

Revision 3731:3770620079d4, 1.8 KB checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Simplify licence block at the beginning of each file

RevLine 
[0]1<?php
[3731]2/**
3 * @package Dotclear
4 *
5 * @copyright Olivier Meunier & Association Dotclear
6 * @copyright GPL-2.0-only
7 */
8
[3730]9if (!defined('DC_RC_PATH')) {return;}
[0]10
[3565]11// Database driver (mysql (deprecated, disabled in PHP7), mysqli, mysqlimb4 (full UTF-8), pgsql, sqlite)
[3730]12define('DC_DBDRIVER', '');
[0]13
14// Database hostname (usually "localhost")
[3730]15define('DC_DBHOST', '');
[0]16
17// Database user
[3730]18define('DC_DBUSER', '');
[0]19
20// Database password
[3730]21define('DC_DBPASSWORD', '');
[0]22
23// Database name
[3730]24define('DC_DBNAME', '');
[0]25
26// Tables' prefix
[3730]27define('DC_DBPREFIX', 'dc_');
[0]28
29// Persistent database connection
[3730]30define('DC_DBPERSIST', false);
[0]31
32// Crypt key (password storage)
[3730]33define('DC_MASTER_KEY', '');
[0]34
35// Admin URL. You need to set it for some features.
[3730]36define('DC_ADMIN_URL', '');
[0]37
[362]38// Admin mail from address. For password recovery and such.
[3730]39define('DC_ADMIN_MAILFROM', '');
[362]40
[0]41// Cookie's name
[3730]42define('DC_SESSION_NAME', 'dcxd');
[0]43
44// Plugins root
[3730]45define('DC_PLUGINS_ROOT', dirname(__FILE__) . '/../plugins');
[0]46
47// Template cache directory
[3730]48define('DC_TPL_CACHE', path::real(dirname(__FILE__) . '/..') . '/cache');
[0]49
[3260]50// Var directory
[3730]51define('DC_VAR', path::real(dirname(__FILE__) . '/..') . '/var');
[3260]52
[3533]53// Cryptographic algorithm
[3730]54define('DC_CRYPT_ALGO', 'sha512');
[0]55
56// If you have PATH_INFO issue, uncomment following lines
57//if (!isset($_SERVER['ORIG_PATH_INFO'])) {
[3730]58//    $_SERVER['ORIG_PATH_INFO'] = '';
[0]59//}
60//$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
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
[3730]64//function _mail($to, $subject, $message, $headers)
[0]65//{
[3730]66//    socketMail::$smtp_relay = 'my.smtp.relay.org';
67//    socketMail::mail($to, $subject, $message, $headers);
[0]68//}
Note: See TracBrowser for help on using the repository browser.

Sites map