#160. php 5.1.2이상에서 imagepng의 3번째, quality인자값이 0~9사이인데 100을 지정해서 생기는 에러 방지.

네로님께서 알려주심.


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2540 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-09-06 01:28:09 +00:00
parent a5d027befd
commit ccd8919261

View file

@ -264,7 +264,7 @@
@imagejpeg($thumb, $target_file, 100);
break;
case 'png' :
@imagepng($thumb, $target_file, 100);
@imagepng($thumb, $target_file, 9);
break;
case 'wbmp' :
case 'bmp' :