Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../dotcl
File: config.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* @package Dotclear
[2] Fix | Delete
*
[3] Fix | Delete
* @copyright Olivier Meunier & Association Dotclear
[4] Fix | Delete
* @copyright AGPL-3.0
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
use Dotclear\Helper\File\Path;
[8] Fix | Delete
[9] Fix | Delete
if (!defined('DC_RC_PATH')) {
[10] Fix | Delete
return;
[11] Fix | Delete
}
[12] Fix | Delete
[13] Fix | Delete
// Database driver (mysql (deprecated, disabled in PHP7), mysqli, mysqlimb4 (full UTF-8), pgsql, sqlite)
[14] Fix | Delete
define('DC_DBDRIVER','mysqli');
[15] Fix | Delete
[16] Fix | Delete
// Database hostname (usually "localhost")
[17] Fix | Delete
define('DC_DBHOST','[[softdbhost]]');
[18] Fix | Delete
[19] Fix | Delete
// Database user
[20] Fix | Delete
define('DC_DBUSER','[[softdbuser]]');
[21] Fix | Delete
[22] Fix | Delete
// Database password
[23] Fix | Delete
define('DC_DBPASSWORD','[[softdbpass]]');
[24] Fix | Delete
[25] Fix | Delete
// Database name
[26] Fix | Delete
define('DC_DBNAME','[[softdb]]');
[27] Fix | Delete
[28] Fix | Delete
// Tables' prefix
[29] Fix | Delete
define('DC_DBPREFIX','[[dbprefix]]');
[30] Fix | Delete
[31] Fix | Delete
// Persistent database connection
[32] Fix | Delete
define('DC_DBPERSIST', false);
[33] Fix | Delete
[34] Fix | Delete
// Crypt key (password storage)
[35] Fix | Delete
define('DC_MASTER_KEY','[[secret]]');
[36] Fix | Delete
[37] Fix | Delete
// Admin URL. You need to set it for some features.
[38] Fix | Delete
define('DC_ADMIN_URL','[[softurl]]/admin/');
[39] Fix | Delete
[40] Fix | Delete
// Admin mail from address. For password recovery and such.
[41] Fix | Delete
define('DC_ADMIN_MAILFROM','[[admin_email]]');
[42] Fix | Delete
[43] Fix | Delete
// Cookie's name
[44] Fix | Delete
define('DC_SESSION_NAME', 'dcxd');
[45] Fix | Delete
[46] Fix | Delete
// Session TTL
[47] Fix | Delete
//define('DC_SESSION_TTL','120 seconds');
[48] Fix | Delete
[49] Fix | Delete
// Plugins root
[50] Fix | Delete
define('DC_PLUGINS_ROOT', __DIR__ . '/../plugins');
[51] Fix | Delete
[52] Fix | Delete
// Template cache directory
[53] Fix | Delete
define('DC_TPL_CACHE', Path::real(__DIR__ . '/..') . '/cache');
[54] Fix | Delete
[55] Fix | Delete
// Var directory
[56] Fix | Delete
define('DC_VAR', Path::real(__DIR__ . '/..') . '/var');
[57] Fix | Delete
[58] Fix | Delete
// Cryptographic algorithm
[59] Fix | Delete
define('DC_CRYPT_ALGO', 'sha512');
[60] Fix | Delete
[61] Fix | Delete
// Vendor name
[62] Fix | Delete
//define('DC_VENDOR_NAME', 'Dotclear');
[63] Fix | Delete
[64] Fix | Delete
// Do not check for update
[65] Fix | Delete
//define('DC_NOT_UPDATE', false);
[66] Fix | Delete
[67] Fix | Delete
// Update URL
[68] Fix | Delete
//define('DC_UPDATE_URL','https://download.dotclear.org/versions.xml');
[69] Fix | Delete
[70] Fix | Delete
// Update channel (stable, unstable, testing)
[71] Fix | Delete
//define('DC_UPDATE_VERSION', 'stable');
[72] Fix | Delete
[73] Fix | Delete
// Proxy config
[74] Fix | Delete
//define('HTTP_PROXY_HOST','127.0.0.1');
[75] Fix | Delete
//define('HTTP_PROXY_PORT','8080');
[76] Fix | Delete
//define('DC_REVERSE_PROXY',true);
[77] Fix | Delete
[78] Fix | Delete
// Show hidden media dirs
[79] Fix | Delete
//define('DC_SHOW_HIDDEN_DIRS', false);
[80] Fix | Delete
[81] Fix | Delete
// Store update checking
[82] Fix | Delete
//define('DC_STORE_NOT_UPDATE', false);
[83] Fix | Delete
[84] Fix | Delete
// Disable REST services (may be useful during debugging session)
[85] Fix | Delete
//define('DC_REST_SERVICES', false);
[86] Fix | Delete
[87] Fix | Delete
// Load Legacy JS library
[88] Fix | Delete
//define('DC_MIGRATE', false);
[89] Fix | Delete
[90] Fix | Delete
// If you have PATH_INFO issue, uncomment following lines
[91] Fix | Delete
//if (!isset($_SERVER['ORIG_PATH_INFO'])) {
[92] Fix | Delete
// $_SERVER['ORIG_PATH_INFO'] = '';
[93] Fix | Delete
//}
[94] Fix | Delete
//$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
[95] Fix | Delete
[96] Fix | Delete
// If you have mail problems, uncomment following lines and adapt it to your hosting configuration
[97] Fix | Delete
// For more information about this setting, please refer to https://dotclear.org/documentation/2.0/admin/install/custom-sendmail
[98] Fix | Delete
//function _mail($to, $subject, $message, $headers)
[99] Fix | Delete
//{
[100] Fix | Delete
// MailSocket::$smtp_relay = 'my.smtp.relay.org';
[101] Fix | Delete
// MailSocket::mail($to, $subject, $message, $headers);
[102] Fix | Delete
//}
[103] Fix | Delete
[104] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function