parent
4a740ecb03
commit
4ec9b47c96
@ -70,7 +70,9 @@ foreach ($_FILES['images']['name'] as $uuid=>$filename) {
|
||||
$image = transformImage(PATH_TMP.$filename, $imageDirectory, $thumbnailDirectory);
|
||||
|
||||
// Delete temporary file
|
||||
Filesystem::rmfile(PATH_TMP.$filename);
|
||||
if (file_exists(PATH_TMP.$filename)) {
|
||||
Filesystem::rmfile(PATH_TMP.$filename);
|
||||
}
|
||||
|
||||
if ($image) {
|
||||
chmod($image, 0644);
|
||||
|
Loading…
Reference in New Issue
Block a user