From 12b7a107613b183507bcf1503289d09543a12a3f Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 19 Sep 2007 06:53:54 +0000 Subject: [PATCH] =?UTF-8?q?=EB=82=B4=EB=B6=80=EC=A0=81=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=20=ED=8C=8C=EC=9D=BC=20=EC=83=9D=EC=84=B1=EC=8B=9C=20=ED=8D=BC?= =?UTF-8?q?=EB=AF=B8=EC=85=98=EC=9D=84=20644=EB=A1=9C=20=EC=A3=BC=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2621 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/file/FileHandler.class.php | 2 ++ widgets/image_counter/image_counter.class.php | 1 + 2 files changed, 3 insertions(+) diff --git a/classes/file/FileHandler.class.php b/classes/file/FileHandler.class.php index ddbca82c9..fb63f77f7 100644 --- a/classes/file/FileHandler.class.php +++ b/classes/file/FileHandler.class.php @@ -165,6 +165,7 @@ } @fclose($ft); @fclose($fp); + @chmod($target_filename, 0644); return true; } @@ -272,6 +273,7 @@ @imagewbmp($thumb, $target_file, 100); break; } + @chmod($target_file, 0644); } } ?> diff --git a/widgets/image_counter/image_counter.class.php b/widgets/image_counter/image_counter.class.php index d97d2e591..424371764 100644 --- a/widgets/image_counter/image_counter.class.php +++ b/widgets/image_counter/image_counter.class.php @@ -145,6 +145,7 @@ // 이미지 저장 @imagegif($image, $image_src, 100); + @chmod($image_src, 0644); // graph의 img 태그 값을 return return sprintf('counter', Context::getRequestUri(), $image_src);