summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2015-04-22 05:54:48 +0200
committerMarcin Łabanowski <marcin@6irc.net>2015-04-22 06:06:34 +0200
commit4014682882d0b390dc099d05e6701521e5f64a31 (patch)
tree0863af973c7d856d55f8d165c96cfdf599b389de /inc/config.php
parent4060bf10eda3b17513907332890575566cf6e890 (diff)
fileboard support
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index f11ee5f1..32308bd4 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -282,7 +282,8 @@
'file_url',
'json_response',
'user_flag',
- 'no_country'
+ 'no_country',
+ 'tag'
);
// Enable reCaptcha to make spam even harder. Rarely necessary.
@@ -735,6 +736,11 @@
$config['allowed_ext'][] = 'png';
// $config['allowed_ext'][] = 'svg';
+ // Allowed extensions for OP. Inherits from the above setting if set to false. Otherwise, it overrides both allowed_ext and
+ // allowed_ext_files (filetypes for downloadable files should be set in allowed_ext_files as well). This setting is useful
+ // for creating fileboards.
+ $config['allowed_ext_op'] = false;
+
// Allowed additional file extensions (not images; downloadable files).
// $config['allowed_ext_files'][] = 'txt';
// $config['allowed_ext_files'][] = 'zip';
@@ -1518,6 +1524,13 @@
// Allow OP to remove arbitrary posts in his thread
$config['user_moderation'] = false;
+ // File board. Like 4chan /f/
+ $config['file_board'] = false;
+
+ // Thread tags. Set to false to disable
+ // Example: array('A' => 'Chinese cartoons', 'M' => 'Music', 'P' => 'Pornography');
+ $config['allowed_tags'] = false;
+
/*
* ====================
* Public post search