mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
Treat webp as image in integration search module
This commit is contained in:
parent
97705e75f4
commit
290367a87c
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ class integration_searchModel extends module
|
||||||
$obj->target_srl = $val->upload_target_srl;
|
$obj->target_srl = $val->upload_target_srl;
|
||||||
$obj->file_size = $val->file_size;
|
$obj->file_size = $val->file_size;
|
||||||
// Images
|
// Images
|
||||||
if(preg_match('/\.(jpg|jpeg|gif|png)$/i', $val->source_filename))
|
if(preg_match('/\.(jpe?g|gif|png|webp)$/i', $val->source_filename))
|
||||||
{
|
{
|
||||||
$obj->type = 'image';
|
$obj->type = 'image';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue