From 6ab3ec5da9f52f1061fb68bc91f8cc58903d86f5 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Sat, 17 Mar 2012 12:02:51 +1100 Subject: [PATCH] convert: chmod(664) after moving temporary image --- inc/image.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/image.php b/inc/image.php index 13b24169..51dccfb4 100644 --- a/inc/image.php +++ b/inc/image.php @@ -231,6 +231,7 @@ } public function to($src) { rename($this->temp, $src); + chmod($src, 0664); } public function width() { return $this->width;