상품삭제시 발생할 수 있는 오류 수정

This commit is contained in:
chicpro
2013-02-01 17:16:10 +09:00
parent 9db841d822
commit c78311a7c1

View File

@ -117,6 +117,9 @@ function itemdelete($it_id)
// 디렉토리내 파일 리스트 배열로 얻기
function scan_dir($path)
{
if(!is_dir($path))
return;
$dir = opendir($path);
while (false !== ($filename = readdir($dir))) {
if($filename == "." || $filename == "..")