diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-03-17 12:02:51 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-03-17 12:02:51 +1100 |
| commit | 6ab3ec5da9f52f1061fb68bc91f8cc58903d86f5 (patch) | |
| tree | 573422ec9f769fd56d70f46f67b70286202d3c19 | |
| parent | b82e3a814a35fdc2dc19a83a104623f4dd429c51 (diff) | |
convert: chmod(664) after moving temporary image
| -rw-r--r-- | inc/image.php | 1 |
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; |
