summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-10-01 16:13:23 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-10-01 16:13:23 +1000
commitcbb1bc10318445fab1ea2933b457c4ee0d1a50b2 (patch)
tree00cd262065506545978b1071b2ff3d00bcb51b41
parent9fe173445de554ac07532570c8e6ebacdbdfd5ae (diff)
references do not work well in config.php
-rw-r--r--inc/config.php8
1 files 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