add twemoji

This commit is contained in:
Milos Holba
2021-01-26 23:17:09 +01:00
parent 078d920c19
commit 2112fe879b
9 changed files with 129 additions and 35 deletions

View File

@@ -559,7 +559,6 @@ function get_pretty_name($basename, $name, $mimetype)
function get_image_meta_data($file)
{
if (get_file_type_from_mimetype($file->getMimeType()) === 'jpeg') {
return exif_read_data($file);
return mb_convert_encoding(
exif_read_data($file), 'UTF8', 'UTF8'

View File

@@ -439,7 +439,7 @@ class Editor
$temp_filename = $file->getClientOriginalName();
// File Path
$file_path = config('filesystems.disks.local.root') . '/chunks/' . $temp_filename;\
$file_path = config('filesystems.disks.local.root') . '/chunks/' . $temp_filename;
// Generate file
File::append($file_path, $file->get());