썸네일 사이즈가 넘어오지 않았다면 return

This commit is contained in:
gnuboard
2013-03-15 16:41:23 +09:00
parent 9912c73c41
commit 1fef69cd71

View File

@ -104,6 +104,8 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
{
global $g4;
if ($thumb_width==0 || $thumb_height==0) return;
$thumb_filename = preg_replace("/\.[^\.]+$/i", "", $filename); // 확장자제거
if (!is_dir($target_path)) {