<?php
/**
* Database configuration
'promotion_logs' => 180 // Promotion logs
'user_mail_logs' => 180, // User mail logs
'mail_logs' => 180, // Mail error logs
'task_logs' => 30, // Scheduled task logs
'mod_logs' => 365, // Moderator logs
'admin_logs' => 365, // Administrator logs
$config['log_pruning'] = array(
*/
* If you set the value to 0, the logs will not be pruned.
* the number of days before each log should be pruned.
* To enable this functionality for the logs below, set the
* various log files created by MyBB.
* The MyBB task system can automatically prune
* Automatic Log Pruning
/**
$config['database']['encoding'] = 'utf8';
*/
* http://dev.mysql.com/doc/refman/5.1/en/charset-mysql.html
* the current value to the mysql charset:
* the line below (if it isn't already) and change
* If you wish to set an encoding for MyBB uncomment
* Database Encoding
/**
$config['super_admins'] = '1';
*/
* cannot be altered either.
* The administrator permissions for these users
* be edited, deleted or banned in the Admin CP.
* A comma separated list of user IDs who cannot
* Super Administrators
/**
$config['memcache_port'] = 11211;
$config['memcache_host'] = 'localhost';
*/
* If not using memcache, ignore this section.
*
* of your memcache server below.
* you need to configure the hostname and port
* If you are using memcache as your data-cache,
* Memcache configuration
/**
$config['cache_store'] = 'db';
*/
* you can change the value below to 'files', 'memcache' or 'eaccelerator' from 'db'.
* If you wish to use the file system (cache/ directory), MemCache or eAccelerator
*
* By default, the database is used to store this data.
* of the most commonly accessed data in MyBB.
* The data cache is a temporary cache
* Data-cache configuration
/**
$config['hide_admin_links'] = 0;
*/
* to 1.
* renaming your Admin CP directory, set this
* on the front end of the board after
* If you wish to hide all Admin CP links
* Hide all Admin CP links
/**
$config['admin_dir'] = 'admin';
*/
* new directory.
* to adjust the value below to point to the
* rename your Admin CP directory. You then need
* For security reasons, it is recommended you
* Admin CP directory
/**
$config['database']['password'] = 'test';
$config['database']['username'] = 'test';
$config['database']['hostname'] = 'localhost';
$config['database']['table_prefix'] = 'mybb';
$config['database']['database'] = 'test';
*
* Please see the MyBB Wiki for advanced
* database configuration for larger installations
* http://wiki.mybboard.net/
*/
$config['database']['type'] = 'mysql';
?>