upload fix

This commit is contained in:
2024-10-23 19:34:41 +03:00
parent 843f560710
commit c507dc6031
+3
View File
@@ -79,7 +79,10 @@ class FileService
throw new LucentException("File $filename not uploaded");
}
if($this->isImage($mimetype)){
$this->createTemplates($disk, $path, $file);
}
list($width, $height) = $this->isImage($mimetype) ? getimagesize($file) : [0, 0];
$recordFile = new RecordFile(