diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-19 19:52:18 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-19 19:52:18 +1100 |
| commit | 9443c0f234731a92579dbe992d13034eead764e4 (patch) | |
| tree | 6f13f70a2aac415c1953e60f7e566e2923dcb728 | |
| parent | 9368638b54dedef89f85d7439c96b64fd7891adc (diff) | |
...
| -rw-r--r-- | inc/config.php | 4 |
1 files changed, 3 insertions, 1 deletions
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<br>Your file\'s size: %filesz% bytes'; $config['error']['maxsize'] = 'The file was too big.'; $config['error']['invalidzip'] = 'Invalid archive!'; + $config['error']['fileexists'] = 'That file <a href="%s">already exists</a>!'; // 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 :( |
