From cbb1bc10318445fab1ea2933b457c4ee0d1a50b2 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 1 Oct 2011 16:13:23 +1000 Subject: [PATCH] references do not work well in config.php --- inc/config.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/config.php b/inc/config.php index 36394463..e167da15 100644 --- a/inc/config.php +++ b/inc/config.php @@ -229,13 +229,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; @@ -427,11 +427,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