summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/image.php1
1 files changed, 1 insertions, 0 deletions
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;