From 311867f73086814275ef2199e2981e35abfb584e Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 1 Oct 2015 13:15:26 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EC=84=A0=ED=83=9D=EC=82=AD=EC=A0=9C=20?= =?UTF-8?q?=EC=A0=91=EA=B7=BC=20=EC=A0=9C=ED=95=9C=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/delete_all.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/bbs/delete_all.php b/bbs/delete_all.php index 1d0ca652e..4587b596a 100644 --- a/bbs/delete_all.php +++ b/bbs/delete_all.php @@ -1,5 +1,8 @@ (G5_IS_MOBILE ? $board['bo_mobile_page_rows'] : $board['bo_page_rows'])) + alert('올바른 방법으로 이용해 주십시오.'); // 사용자 코드 실행 @include_once($board_skin_path.'/delete_all.skin.php'); - // 거꾸로 읽는 이유는 답변글부터 삭제가 되어야 하기 때문임 -for ($i=count($tmp_array)-1; $i>=0; $i--) +for ($i=$chk_count-1; $i>=0; $i--) { $write = sql_fetch(" select * from $write_table where wr_id = '$tmp_array[$i]' "); From 93d02205179b9e8322a3eb6d426056cb85c3ae82 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 1 Oct 2015 13:16:36 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=B2=84=EC=A0=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.php b/config.php index 3c71769bd..d667e91f6 100644 --- a/config.php +++ b/config.php @@ -5,7 +5,7 @@ ********************/ define('G5_VERSION', '그누보드5'); -define('G5_GNUBOARD_VER', '5.1.1'); +define('G5_GNUBOARD_VER', '5.1.2'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true);