a bit of optimization

This commit is contained in:
Savetheinternet 2011-05-24 15:39:07 +10:00
parent af142bb702
commit d21e28f6f6
3 changed files with 14 additions and 14 deletions

View file

@ -206,13 +206,13 @@
// Maximum number of cites per post (protects against abuse)
$config['max_cites'] = 45;
// Maximum number of cross-board links/cites per post
$config['max_cross'] = $config['max_cites'];
$config['max_cross'] = &$config['max_cites'];
// Maximum image upload size in bytes
$config['max_filesize'] = 10*1024*1024; // 10MB
// Maximum image dimensions
$config['max_width'] = 10000;
$config['max_height'] = $config['max_width']; // 1:1
$config['max_height'] = &$config['max_width']; // 1:1
// Reject a post if its image is already in active content
$config['image_reject_repost'] = true;
/**
@ -392,11 +392,11 @@
// Show expired bans in the ban list (they are kept in cache until the culprit returns)
$config['mod']['view_banexpired'] = true;
// View ban for IP address
$config['mod']['view_ban'] = $config['mod']['view_banlist'];
$config['mod']['view_ban'] = &$config['mod']['view_banlist'];
// View IP address notes
$config['mod']['view_notes'] = JANITOR;
// Create notes
$config['mod']['create_notes'] = $config['mod']['view_notes'];
$config['mod']['create_notes'] = &$config['mod']['view_notes'];
// Remote notes
$config['mod']['remove_notes'] = ADMIN;
// Create a new board