Clean up instance-config.php
- remove commented code - revert overwritten flood values back
This commit is contained in:
parent
246c77d369
commit
5afcd089ed
|
@ -24,20 +24,6 @@ $config['boards'] = array(
|
||||||
array('meta')
|
array('meta')
|
||||||
);
|
);
|
||||||
|
|
||||||
// /*
|
|
||||||
// * This is a copy of this setting from config.php. The 'flood-match' line
|
|
||||||
// * was changed from array('ip') to array().
|
|
||||||
// */
|
|
||||||
// // Minimum time between posts by the same IP address (all boards).
|
|
||||||
// $config['filters'][] = array(
|
|
||||||
// 'condition' => array(
|
|
||||||
// 'flood-match' => array(), // Only match IP address
|
|
||||||
// 'flood-time' => &$config['flood_time']
|
|
||||||
// ),
|
|
||||||
// 'action' => 'reject',
|
|
||||||
// 'message' => &$config['error']['flood']
|
|
||||||
// );
|
|
||||||
|
|
||||||
$config['prepended_foreign_boards'] = array(
|
$config['prepended_foreign_boards'] = array(
|
||||||
'overboard' => '/overboard/',
|
'overboard' => '/overboard/',
|
||||||
'cytube' => 'https://tv.leftypol.org/'
|
'cytube' => 'https://tv.leftypol.org/'
|
||||||
|
@ -97,11 +83,11 @@ $config['cookies']['mod'] = 'mod';
|
||||||
$config['cookies']['salt'] = 'MGYwNjhlNjU5Y2QxNWU3YjQ3MzQ1Yj';
|
$config['cookies']['salt'] = 'MGYwNjhlNjU5Y2QxNWU3YjQ3MzQ1Yj';
|
||||||
|
|
||||||
|
|
||||||
$config['flood_cache'] = 60 * 15; // 15 minutes
|
$config['flood_cache'] = 60 * 15; // 15 minutes. The oldest a post can be in the flood table
|
||||||
$config['flood_time_any'] = 40; // in seconds
|
$config['flood_time_any'] = 40; // time between thread creation
|
||||||
$config['flood_time'] = 0;
|
$config['flood_time'] = 30;
|
||||||
$config['flood_time_ip'] = 0;
|
$config['flood_time_ip'] = 60;
|
||||||
$config['flood_time_same'] = 0;
|
$config['flood_time_same'] = 60;
|
||||||
$config['max_body'] = 100000;
|
$config['max_body'] = 100000;
|
||||||
$config['reply_limit'] = 250;
|
$config['reply_limit'] = 250;
|
||||||
$config['max_links'] = 40;
|
$config['max_links'] = 40;
|
||||||
|
|
Loading…
Reference in New Issue