Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c507dc6031 |
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user