상품삭제시 설명의 에디터 이미지 삭제되지 않는 오류 수정

This commit is contained in:
chicpro
2014-07-08 14:41:16 +09:00
parent 86ab7febc1
commit 7463912dc6

View File

@ -67,7 +67,7 @@ if (!function_exists("itemdelete")) {
//------------------------------------------------------------------------ //------------------------------------------------------------------------
// HTML 내용에서 에디터에 올라간 이미지의 경로를 얻어 삭제함 // HTML 내용에서 에디터에 올라간 이미지의 경로를 얻어 삭제함
//------------------------------------------------------------------------ //------------------------------------------------------------------------
$imgs = get_editor_image($it['it_explan']); $imgs = get_editor_image($it['it_explan'], false);
for($i=0;$i<count($imgs[1]);$i++) { for($i=0;$i<count($imgs[1]);$i++) {
$p = parse_url($imgs[1][$i]); $p = parse_url($imgs[1][$i]);
@ -82,7 +82,7 @@ if (!function_exists("itemdelete")) {
@unlink($destfile); @unlink($destfile);
} }
$imgs = get_editor_image($it['it_mobile_explan']); $imgs = get_editor_image($it['it_mobile_explan'], false);
for($i=0;$i<count($imgs[1]);$i++) { for($i=0;$i<count($imgs[1]);$i++) {
$p = parse_url($imgs[1][$i]); $p = parse_url($imgs[1][$i]);