diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-24 15:39:07 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-24 15:39:07 +1000 |
| commit | d21e28f6f63c177dce8a2db3ebb93009b6f6d226 (patch) | |
| tree | 9965c4f23e4840421ac53e0d8ca0d9a6f9228592 /inc/config.php | |
| parent | af142bb7021e10fbe7ca381cf0f96cfa7d780b2e (diff) | |
a bit of optimization
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/config.php b/inc/config.php index aca2c85c..38d865c0 100644 --- a/inc/config.php +++ b/inc/config.php @@ -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 |
