Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
gnuboard
2013-05-03 16:01:34 +09:00
3 changed files with 95 additions and 11 deletions

View File

@ -184,7 +184,7 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
// Animated GIF는 썸네일 생성하지 않음
if($size[2] == 1) {
if(is_animated_gif($source_file))
return;
return basename($source_file);
}
$thumb_time = @filemtime($thumb_file);