mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix #2114 Allow specifying file formats to be indexed
This commit is contained in:
parent
22abeb7a88
commit
9611fc7bda
5 changed files with 36 additions and 1 deletions
|
|
@ -158,6 +158,7 @@ class FileAdminController extends File
|
|||
$config->allow_outlink = Context::get('allow_outlink') === 'N' ? 'N' : 'Y';
|
||||
$config->allow_outlink_format = Context::get('allow_outlink_format');
|
||||
$config->allow_outlink_site = Context::get('allow_outlink_site');
|
||||
$config->allow_indexing_format = Context::get('allow_indexing_format');
|
||||
$config->allow_multimedia_direct_download = Context::get('allow_multimedia_direct_download') === 'Y' ? 'Y' : 'N';
|
||||
$config->download_short_url = Context::get('download_short_url') === 'Y' ? 'Y' : 'N';
|
||||
$config->inline_download_format = array_map('utf8_trim', Context::get('inline_download_format') ?: []);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue