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