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;