상품 에디터 이미지 삭제 이슈 관련 수정

This commit is contained in:
thisgun
2018-01-15 20:36:25 +09:00
parent ce05fd7d1a
commit 713784ccff

View File

@ -71,6 +71,8 @@ if (!function_exists("itemdelete")) {
for($i=0;$i<count($imgs[1]);$i++) {
$p = parse_url($imgs[1][$i]);
if(strpos($p['path'], "/data/editor/") === false)
continue;
if(strpos($p['path'], "/data/") != 0)
$data_path = preg_replace("/^\/.*\/data/", "/data", $p['path']);
else
@ -86,6 +88,8 @@ if (!function_exists("itemdelete")) {
for($i=0;$i<count($imgs[1]);$i++) {
$p = parse_url($imgs[1][$i]);
if(strpos($p['path'], "/data/editor/") === false)
continue;
if(strpos($p['path'], "/data/") != 0)
$data_path = preg_replace("/^\/.*\/data/", "/data", $p['path']);
else