summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-12 22:14:26 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-12 22:14:26 +1000
commita7a93ece3d96acb24c589662f49d28675c83c913 (patch)
treee81e4c16344eb60ede4b425ee230d5c9b48a4cbd /inc
parente0a8ffcfb9246dc5fda840dc5386598730245802 (diff)
$config['error']['invalidzip'] isn't used anywhere anymore
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/inc/config.php b/inc/config.php
index 741db545..64fdba92 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -267,7 +267,8 @@
'recaptcha_response_field',
'spoiler',
'quick-reply',
- 'page'
+ 'page',
+ 'file_url',
);
// Enable reCaptcha to make spam even harder. Rarely necessary.
@@ -347,7 +348,10 @@
$config['markup_urls'] = true;
// Optional URL prefix for links (eg. "http://anonym.to/?").
$config['link_prefix'] = '';
-
+
+ // Allow "uploading" images via URL as well. Users can enter the URL of the image and then Tinyboard will
+ // download it. Not usually recommended.
+ $config['allow_upload_by_url'] = false;
// A wordfilter (sometimes referred to as just a "filter" or "censor") automatically scans users’ posts
// as they are submitted and changes or censors particular words or phrases.
@@ -837,7 +841,6 @@
$config['error']['unknownext'] = _('Unknown file extension.');
$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>!');
$config['error']['fileexistsinthread'] = _('That file <a href="%s">already exists</a> in this thread!');
$config['error']['delete_too_soon'] = _('You\'ll have to wait another %s before deleting that.');