mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Add config to control short URL for downloading
This commit is contained in:
parent
e6305404c5
commit
320d5596f6
5 changed files with 15 additions and 1 deletions
|
|
@ -130,6 +130,7 @@ class fileAdminController extends file
|
|||
$config->allow_outlink = Context::get('allow_outlink');
|
||||
$config->allow_outlink_format = Context::get('allow_outlink_format');
|
||||
$config->allow_outlink_site = Context::get('allow_outlink_site');
|
||||
$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'));
|
||||
|
||||
// Save and redirect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue