Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../mybb
File: config.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Database configuration
[2] Fix | Delete
*
[3] Fix | Delete
* Please see the MyBB Docs for advanced
[4] Fix | Delete
* database configuration for larger installations
[5] Fix | Delete
* https://docs.mybb.com/
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
$config['database']['type'] = 'mysqli';
[9] Fix | Delete
$config['database']['database'] = '[[softdb]]';
[10] Fix | Delete
$config['database']['table_prefix'] = '[[dbprefix]]';
[11] Fix | Delete
[12] Fix | Delete
$config['database']['hostname'] = '[[softdbhost]]';
[13] Fix | Delete
$config['database']['username'] = '[[softdbuser]]';
[14] Fix | Delete
$config['database']['password'] = '[[softdbpass]]';
[15] Fix | Delete
[16] Fix | Delete
/**
[17] Fix | Delete
* Admin CP directory
[18] Fix | Delete
* For security reasons, it is recommended you
[19] Fix | Delete
* rename your Admin CP directory. You then need
[20] Fix | Delete
* to adjust the value below to point to the
[21] Fix | Delete
* new directory.
[22] Fix | Delete
*/
[23] Fix | Delete
[24] Fix | Delete
$config['admin_dir'] = 'admin';
[25] Fix | Delete
[26] Fix | Delete
/**
[27] Fix | Delete
* Hide all Admin CP links
[28] Fix | Delete
* If you wish to hide all Admin CP links
[29] Fix | Delete
* on the front end of the board after
[30] Fix | Delete
* renaming your Admin CP directory, set this
[31] Fix | Delete
* to 1.
[32] Fix | Delete
*/
[33] Fix | Delete
[34] Fix | Delete
$config['hide_admin_links'] = 0;
[35] Fix | Delete
[36] Fix | Delete
/**
[37] Fix | Delete
* Data-cache configuration
[38] Fix | Delete
* The data cache is a temporary cache
[39] Fix | Delete
* of the most commonly accessed data in MyBB.
[40] Fix | Delete
* By default, the database is used to store this data.
[41] Fix | Delete
*
[42] Fix | Delete
* If you wish to use the file system (cache/ directory), MemCache (or MemCached), xcache, APC, APCu, eAccelerator or Redis
[43] Fix | Delete
* you can change the value below to 'files', 'memcache', 'memcached', 'xcache', 'apc', 'apcu', 'eaccelerator' or 'redis' from 'db'.
[44] Fix | Delete
*/
[45] Fix | Delete
[46] Fix | Delete
$config['cache_store'] = 'db';
[47] Fix | Delete
[48] Fix | Delete
/**
[49] Fix | Delete
* Memcache configuration
[50] Fix | Delete
* If you are using memcache or memcached as your
[51] Fix | Delete
* data-cache, you need to configure the hostname
[52] Fix | Delete
* and port of your memcache server below.
[53] Fix | Delete
*
[54] Fix | Delete
* If not using memcache, ignore this section.
[55] Fix | Delete
*/
[56] Fix | Delete
[57] Fix | Delete
$config['memcache']['host'] = 'localhost';
[58] Fix | Delete
$config['memcache']['port'] = 11211;
[59] Fix | Delete
[60] Fix | Delete
/**
[61] Fix | Delete
* Redis configuration
[62] Fix | Delete
* If you are using Redis as your data-cache
[63] Fix | Delete
* you need to configure the hostname and port
[64] Fix | Delete
* of your redis server below. If you want
[65] Fix | Delete
* to connect via unix sockets, use the full
[66] Fix | Delete
* path to the unix socket as host and leave
[67] Fix | Delete
* the port setting unconfigured or false.
[68] Fix | Delete
*/
[69] Fix | Delete
[70] Fix | Delete
$config['redis']['host'] = 'localhost';
[71] Fix | Delete
$config['redis']['port'] = 6379;
[72] Fix | Delete
[73] Fix | Delete
/**
[74] Fix | Delete
* Super Administrators
[75] Fix | Delete
* A comma separated list of user IDs who cannot
[76] Fix | Delete
* be edited, deleted or banned in the Admin CP.
[77] Fix | Delete
* The administrator permissions for these users
[78] Fix | Delete
* cannot be altered either.
[79] Fix | Delete
*/
[80] Fix | Delete
[81] Fix | Delete
$config['super_admins'] = '1';
[82] Fix | Delete
[83] Fix | Delete
/**
[84] Fix | Delete
* Database Encoding
[85] Fix | Delete
* If you wish to set an encoding for MyBB uncomment
[86] Fix | Delete
* the line below (if it isn't already) and change
[87] Fix | Delete
* the current value to the mysql charset:
[88] Fix | Delete
* http://dev.mysql.com/doc/refman/5.1/en/charset-mysql.html
[89] Fix | Delete
*/
[90] Fix | Delete
[91] Fix | Delete
$config['database']['encoding'] = 'utf8';
[92] Fix | Delete
[93] Fix | Delete
/**
[94] Fix | Delete
* Automatic Log Pruning
[95] Fix | Delete
* The MyBB task system can automatically prune
[96] Fix | Delete
* various log files created by MyBB.
[97] Fix | Delete
* To enable this functionality for the logs below, set the
[98] Fix | Delete
* the number of days before each log should be pruned.
[99] Fix | Delete
* If you set the value to 0, the logs will not be pruned.
[100] Fix | Delete
*/
[101] Fix | Delete
[102] Fix | Delete
$config['log_pruning'] = array(
[103] Fix | Delete
'admin_logs' => 365, // Administrator logs
[104] Fix | Delete
'mod_logs' => 365, // Moderator logs
[105] Fix | Delete
'task_logs' => 30, // Scheduled task logs
[106] Fix | Delete
'mail_logs' => 180, // Mail error logs
[107] Fix | Delete
'user_mail_logs' => 180, // User mail logs
[108] Fix | Delete
'promotion_logs' => 180 // Promotion logs
[109] Fix | Delete
);
[110] Fix | Delete
[111] Fix | Delete
/**
[112] Fix | Delete
* Disallowed Remote Hosts
[113] Fix | Delete
* List of hosts the fetch_remote_file() function will not
[114] Fix | Delete
* perform requests to.
[115] Fix | Delete
* It is recommended that you enter hosts resolving to the
[116] Fix | Delete
* forum server here to prevent Server Side Request
[117] Fix | Delete
* Forgery attacks.
[118] Fix | Delete
*/
[119] Fix | Delete
[120] Fix | Delete
$config['disallowed_remote_hosts'] = array(
[121] Fix | Delete
'localhost',
[122] Fix | Delete
);
[123] Fix | Delete
[124] Fix | Delete
/**
[125] Fix | Delete
* Disallowed Remote Addresses
[126] Fix | Delete
* List of IPv4 addresses the fetch_remote_file() function
[127] Fix | Delete
* will not perform requests to.
[128] Fix | Delete
* It is recommended that you enter addresses resolving to
[129] Fix | Delete
* the forum server here to prevent Server Side Request
[130] Fix | Delete
* Forgery attacks.
[131] Fix | Delete
* Removing all values disables resolving hosts in that
[132] Fix | Delete
* function.
[133] Fix | Delete
*/
[134] Fix | Delete
[135] Fix | Delete
$config['disallowed_remote_addresses'] = array(
[136] Fix | Delete
'0.0.0.0',
[137] Fix | Delete
'127.0.0.0/8',
[138] Fix | Delete
'10.0.0.0/8',
[139] Fix | Delete
'172.16.0.0/12',
[140] Fix | Delete
'192.168.0.0/16',
[141] Fix | Delete
);
[142] Fix | Delete
[143] Fix | Delete
/**
[144] Fix | Delete
* Admin CP Secret PIN
[145] Fix | Delete
* If you wish to request a PIN
[146] Fix | Delete
* when someone tries to login
[147] Fix | Delete
* on your Admin CP, enter it below.
[148] Fix | Delete
*/
[149] Fix | Delete
[150] Fix | Delete
$config['secret_pin'] = '';
[151] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function