Remove Filesystem:rmfile completely
This commit is contained in:
parent
4ec9b47c96
commit
2e307339ab
|
@ -69,11 +69,6 @@ foreach ($_FILES['images']['name'] as $uuid=>$filename) {
|
||||||
// Transform the image and generate the thumbnail
|
// Transform the image and generate the thumbnail
|
||||||
$image = transformImage(PATH_TMP.$filename, $imageDirectory, $thumbnailDirectory);
|
$image = transformImage(PATH_TMP.$filename, $imageDirectory, $thumbnailDirectory);
|
||||||
|
|
||||||
// Delete temporary file
|
|
||||||
if (file_exists(PATH_TMP.$filename)) {
|
|
||||||
Filesystem::rmfile(PATH_TMP.$filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($image) {
|
if ($image) {
|
||||||
chmod($image, 0644);
|
chmod($image, 0644);
|
||||||
$filename = Filesystem::filename($image);
|
$filename = Filesystem::filename($image);
|
||||||
|
|
Loading…
Reference in New Issue