v0.1 Blacklist and Exif data

This commit is contained in:
Miloš Holba
2020-09-05 14:35:51 +02:00
committed by Peter Papp
parent fd6aa5c6b2
commit 0e12029efc
14 changed files with 274 additions and 3 deletions

View File

@@ -528,4 +528,10 @@ function get_pretty_name($basename, $name, $mimetype)
}
return $name . '.' . $mimetype;
}
}
function get_image_meta_data($file)
{
if(get_file_type($file->getMimeType()) === 'image') {
return exif_read_data($file);
}
}