From af78846889e76254fed58946620ab1fded1c083f Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Fri, 27 Dec 2013 18:27:58 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BD=D0=BE=20=D1=83?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B0=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=20=D0=B4=D0=BE=D1=81=D1=82=D1=83=D0=BF=D0=B0=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B7=D0=B0=D0=B3=D1=80=D1=83=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D0=B9=20=D1=84=D0=B0=D0=B9=D0=BB=20=D0=B2=20664?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Upload.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Upload.class.php b/Upload.class.php index 17401fe..7ba4f8c 100644 --- a/Upload.class.php +++ b/Upload.class.php @@ -116,7 +116,6 @@ abstract class Upload } $image->type = $greagwar_image_clone->guessType(); $file_path = $greagwar_image_clone->cacheFile($image->type, $quality = 100, true); - chmod($file_path, 0664); $image->size = filesize($file_path); $path_parts = pathinfo($file_path); $image->path = preg_replace('#^' . Config::get('PATH_WEB_ROOT') . '/#', '', $path_parts['dirname']);