Skip to content

Commit

Permalink
Update ps_imageslider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
buggyzap authored Apr 30, 2024
1 parent 9183d0c commit 75e6ddf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ps_imageslider.php
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,11 @@ protected function _postProcess()
'gif',
'jpeg',
'png',
'avif',
'webp',
]
) &&
in_array($type, ['jpg', 'gif', 'jpeg', 'png'])
in_array($type, ['jpg', 'gif', 'jpeg', 'png', 'avif', 'webp'])
) {
$temp_name = tempnam(_PS_TMP_IMG_DIR_, 'PS');
$salt = sha1(microtime());
Expand Down

0 comments on commit 75e6ddf

Please sign in to comment.