From e25af3e437c8fba750693a8cc54a941976ac3e1d Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 21 Feb 2013 13:37:19 +0900 Subject: [PATCH] =?UTF-8?q?closedir=20=EC=BD=94=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/delete.php | 2 ++ bbs/delete_all.php | 2 ++ bbs/write_update.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/bbs/delete.php b/bbs/delete.php index b7c2b18e8..1a5af7ad7 100644 --- a/bbs/delete.php +++ b/bbs/delete.php @@ -94,6 +94,8 @@ while ($row = sql_fetch_array($result)) @unlink($dir.'/'.$file); } } + + closedir($dh); } } } diff --git a/bbs/delete_all.php b/bbs/delete_all.php index e6a7107fb..09a48e82f 100644 --- a/bbs/delete_all.php +++ b/bbs/delete_all.php @@ -107,6 +107,8 @@ for ($i=count($tmp_array)-1; $i>=0; $i--) @unlink($dir.'/'.$file); } } + + closedir($dh); } } } diff --git a/bbs/write_update.php b/bbs/write_update.php index a5bd41a2b..9cb96c1bd 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -250,6 +250,8 @@ for ($i=0; $i