mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Fix incorrect extension when old file module config is used without updating
This commit is contained in:
parent
e2040b881d
commit
b09477a873
1 changed files with 1 additions and 1 deletions
|
|
@ -1194,7 +1194,7 @@ class FileController extends File
|
||||||
{
|
{
|
||||||
$adjusted['type'] = 'mp4';
|
$adjusted['type'] = 'mp4';
|
||||||
}
|
}
|
||||||
elseif (!empty($config->image_autoconv[$image_info['type']]))
|
elseif (!empty($config->image_autoconv[$image_info['type']]) && tobool($config->image_autoconv[$image_info['type']]))
|
||||||
{
|
{
|
||||||
$adjusted['type'] = $config->image_autoconv[$image_info['type']];
|
$adjusted['type'] = $config->image_autoconv[$image_info['type']];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue