forked from leftypol/leftypol
fileboard support
This commit is contained in:
parent
4060bf10ed
commit
4014682882
33 changed files with 216 additions and 107 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue