관련상품등록 관련 스크립트 수정

This commit is contained in:
chicpro committed 2013-02-04 14:00:57 +09:00
1 parent 335f5975c6
commit 31ebc0df87
4 files changed
+59 -36

No files matched your search

+2 -1
View File
@@ -80,6 +80,7 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
imagepng($dst, $thumb_file, 0); // 0 (no compression) ~ 9
chmod($thumb_file, 0606); // 추후 삭제를 위하여 파일모드 변경
return str_replace($target_path.'/', '', $thumb_file);
return basename($thumb_file);
}
?>