summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2013-01-26 17:21:29 +0100
committervlakoff <vlakoff@gmail.com>2013-01-26 17:21:29 +0100
commit16c6d7e8ab6b161d11c0e8dbca7dbbef58b49138 (patch)
treef549cbc7ad9c6eb91d35a76dcf0984950f223a7f
parent0dce7ec2d69c8c9e5e9e0b8a26bc4cbe388350f6 (diff)
Fix a code comment in Image_lib
constant FILE_WRITE_MODE contains octal 0666
-rw-r--r--system/libraries/Image_lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 6d5493696..0cec43fc4 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -810,7 +810,7 @@ class CI_Image_lib {
imagedestroy($dst_img);
imagedestroy($src_img);
- // Set the file to 777
+ // Set the file to 666
@chmod($this->full_dst_path, FILE_WRITE_MODE);
return TRUE;