mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
mimetype reading fix
This commit is contained in:
@@ -762,10 +762,8 @@ if (! function_exists('readExifData')) {
|
||||
*/
|
||||
function readExifData(string $file): object|null
|
||||
{
|
||||
$disk = Storage::disk('local');
|
||||
|
||||
$type = get_file_type_from_mimetype(
|
||||
$disk->mimeType($file)
|
||||
Storage::mimeType($file)
|
||||
);
|
||||
|
||||
if ($type !== 'jpeg') {
|
||||
|
||||
Reference in New Issue
Block a user