From 594cbf76f70cd068a691af55b77f914037395f58 Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 19 Jan 2021 14:09:22 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=EC=83=88=EA=B8=80=20=EC=82=AD=EC=A0=9C?= =?UTF-8?q?=EC=8B=9C=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20=EC=B9=B4=EC=9A=B4?= =?UTF-8?q?=ED=8A=B8=20=EA=B0=92=EC=9D=B4=20=EC=A0=95=ED=99=95=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EA=B2=8C=20=EC=A4=84=EC=96=B4=EB=93=9C?= =?UTF-8?q?=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/new_delete.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bbs/new_delete.php b/bbs/new_delete.php index dd74f0178..faff90f42 100644 --- a/bbs/new_delete.php +++ b/bbs/new_delete.php @@ -10,7 +10,6 @@ $board = array('bo_table'=>''); $save_bo_table = array(); $save_wr_id = array(); $count_chk_bn_id = (isset($_POST['chk_bn_id']) && is_array($_POST['chk_bn_id'])) ? count($_POST['chk_bn_id']) : 0; -$count_write = 0; for($i=0;$i<$count_chk_bn_id;$i++) { @@ -19,6 +18,8 @@ for($i=0;$i<$count_chk_bn_id;$i++) $bo_table = isset($_POST['bo_table'][$k]) ? preg_replace('/[^a-z0-9_]/i', '', $_POST['bo_table'][$k]) : ''; $wr_id = isset($_POST['wr_id'][$k]) ? preg_replace('/[^0-9]/i', '', $_POST['wr_id'][$k]) : 0; + + $count_write = $count_comment = 0; $save_bo_table[$i] = $bo_table; $save_wr_id[$i] = $wr_id; From b3157550b4321f300030ae73fbac96449d237b3a Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 19 Jan 2021 14:16:44 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=EB=A9=94=EC=9D=BC=20=ED=95=A8=EC=88=98?= =?UTF-8?q?=EB=82=B4=20hook=20=ED=95=A8=EC=88=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/mailer.lib.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/mailer.lib.php b/lib/mailer.lib.php index 11492b335..229ed97d9 100644 --- a/lib/mailer.lib.php +++ b/lib/mailer.lib.php @@ -16,6 +16,12 @@ function mailer($fname, $fmail, $to, $subject, $content, $type=0, $file="", $cc= if ($type != 1) $content = nl2br($content); + $result = run_replace('mailer', $fname, $fmail, $to, $subject, $content, $type, $file, $cc, $bcc); + + if( isset($result['return']) ){ + return $result['return']; + } + $mail = new PHPMailer(); // defaults to using php "mail()" if (defined('G5_SMTP') && G5_SMTP) { $mail->IsSMTP(); // telling the class to use SMTP From ddde0d7641fc84db77af42b188bf50094dc28209 Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 19 Jan 2021 14:17:00 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=EB=B2=84=EC=A0=84=205.4.4.8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= 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 dd05e6bd2..228511085 100644 --- a/config.php +++ b/config.php @@ -5,7 +5,7 @@ ********************/ define('G5_VERSION', '그누보드5'); -define('G5_GNUBOARD_VER', '5.4.4.7.1'); +define('G5_GNUBOARD_VER', '5.4.4.8'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true);