mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Always download SVG as attachment
This commit is contained in:
parent
bf2df84d0f
commit
91744ec87c
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,7 @@ class FileController extends File
|
|||
{
|
||||
$download_type = 'inline';
|
||||
}
|
||||
if (Context::get('force_download') === 'Y')
|
||||
if ($mime_type === 'image/svg+xml' || Context::get('force_download') === 'Y')
|
||||
{
|
||||
$download_type = 'attachment';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue