From 9443c0f234731a92579dbe992d13034eead764e4 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 19 Feb 2011 19:52:18 +1100 Subject: [PATCH] ... --- inc/config.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index bd41a220..01a19789 100644 --- a/inc/config.php +++ b/inc/config.php @@ -105,6 +105,7 @@ $config['error']['filesize'] = 'Maximum file size: %maxsz% bytes
Your file\'s size: %filesz% bytes'; $config['error']['maxsize'] = 'The file was too big.'; $config['error']['invalidzip'] = 'Invalid archive!'; + $config['error']['fileexists'] = 'That file already exists!'; // Moderator errors $config['error']['invalid'] = 'Invalid username and/or password.'; @@ -140,7 +141,8 @@ // Maximum image dimensions $config['max_width'] = 10000; $config['max_height'] = $config['max_width']; // 1:1 - + // Reject a post if its image is already in active content + $config['image_reject_repost'] = true; /** Redraw the image using GD functions to strip any excess data (commonly ZIP archives) WARNING: Currently strips animated GIFs too :(