Browse Source

sorta document the changes in config.php

pull/40/head
czaks 10 years ago
parent
commit
57e80951d9
  1. 4
      inc/config.php

4
inc/config.php

@ -372,7 +372,8 @@
// 'message' => 'Go away, spammer.' // 'message' => 'Go away, spammer.'
// ); // );
// Example: Same as above, but issuing a 3-hour ban instead of just reject the post. // Example: Same as above, but issuing a 3-hour ban instead of just reject the post and
// add an IP note with the message body
// $config['filters'][] = array( // $config['filters'][] = array(
// 'condition' => array( // 'condition' => array(
// 'name' => '/^surgeon$/', // 'name' => '/^surgeon$/',
@ -380,6 +381,7 @@
// 'OP' => false // 'OP' => false
// ), // ),
// 'action' => 'ban', // 'action' => 'ban',
// 'add_note' => true,
// 'expires' => 60 * 60 * 3, // 3 hours // 'expires' => 60 * 60 * 3, // 3 hours
// 'reason' => 'Go away, spammer.' // 'reason' => 'Go away, spammer.'
// ); // );

Loading…
Cancel
Save