closedir 코드 추가

This commit is contained in:
chicpro
2013-02-21 13:37:19 +09:00
parent 6d27bd9585
commit e25af3e437
3 changed files with 6 additions and 0 deletions

View File

@ -94,6 +94,8 @@ while ($row = sql_fetch_array($result))
@unlink($dir.'/'.$file);
}
}
closedir($dh);
}
}
}

View File

@ -107,6 +107,8 @@ for ($i=count($tmp_array)-1; $i>=0; $i--)
@unlink($dir.'/'.$file);
}
}
closedir($dh);
}
}
}

View File

@ -250,6 +250,8 @@ for ($i=0; $i<count($_FILES['bf_file']['name']); $i++) {
@unlink($dir.'/'.$entry);
}
}
closedir($dh);
}
}
}