Compare commits

...

1 Commits

Author SHA1 Message Date
lexx c507dc6031 upload fix 2024-10-23 19:34:41 +03:00
+4 -1
View File
@@ -79,7 +79,10 @@ class FileService
throw new LucentException("File $filename not uploaded");
}
$this->createTemplates($disk, $path, $file);
if($this->isImage($mimetype)){
$this->createTemplates($disk, $path, $file);
}
list($width, $height) = $this->isImage($mimetype) ? getimagesize($file) : [0, 0];
$recordFile = new RecordFile(