From f5b7b3000c8616610d9904a17ba788d91db5fde1 Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 9 Mar 2020 12:20:52 +0900 Subject: [PATCH 1/5] =?UTF-8?q?5.4=20=EB=B2=84=EC=A0=84=20=EC=B5=9C?= =?UTF-8?q?=EC=8B=A0=EA=B8=80=20cache=20=EC=84=A4=EC=A0=95=20=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EC=9D=84=EC=8B=9C=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/latest.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/latest.lib.php b/lib/latest.lib.php index da89910d1..f374ae899 100644 --- a/lib/latest.lib.php +++ b/lib/latest.lib.php @@ -31,7 +31,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time= } } - $caches = null; + $caches = false; if(G5_USE_CACHE) { $cache_file_name = "latest-{$bo_table}-{$skin_dir}-{$rows}-{$subject_len}-".g5_cache_secret_key(); From a5d959deb8ebb1fa2904e98fa37e7af1835ccd6f Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 9 Mar 2020 16:52:08 +0900 Subject: [PATCH 2/5] =?UTF-8?q?html=5Fprocess=20=ED=81=B4=EB=9E=98?= =?UTF-8?q?=EC=8A=A4=20=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 7fe2d53ae..a2457e008 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2594,7 +2594,7 @@ class html_process { if(!trim($js[1])) continue; - $js[1] = preg_replace('#\.js([\'\"]?>)$#i', '.js?ver='.G5_JS_VER.'$1', $js[1]); + $js[1] = preg_replace('#\.js([\'\"]?>)<\/script>$#i', '.js?ver='.G5_JS_VER.'$1', $js[1]); $javascript .= $php_eol.$js[1]; $php_eol = PHP_EOL; From 86f8c1a1c12ac9c8c81f9d4e66e57d9c33d0a237 Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 10 Mar 2020 19:40:32 +0900 Subject: [PATCH 3/5] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C=EC=8B=9C=20=EC=A2=8B=EC=95=84=EC=9A=94=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=EC=9D=98=20=EA=B8=B0=EB=A1=9D=EB=8F=84=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/admin.head.php | 2 +- adm/board_delete.inc.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/adm/admin.head.php b/adm/admin.head.php index 1ed34b228..53adc6e39 100644 --- a/adm/admin.head.php +++ b/adm/admin.head.php @@ -101,7 +101,7 @@ function imageview(id, w, h)

- +
    diff --git a/adm/board_delete.inc.php b/adm/board_delete.inc.php index 71a3b3578..e043d3555 100644 --- a/adm/board_delete.inc.php +++ b/adm/board_delete.inc.php @@ -26,6 +26,9 @@ sql_query(" delete from {$g5['board_file_table']} where bo_table = '{$tmp_bo_tab // 게시판 테이블 DROP sql_query(" drop table {$g5['write_prefix']}{$tmp_bo_table} ", FALSE); +// 좋아요 테이블에서 기록 삭제 +sql_query(" delete from {$g5['board_good_table']} where bo_table = '{$tmp_bo_table}' "); + delete_cache_latest($tmp_bo_table); // 게시판 폴더 전체 삭제 From ae75f5bf7ac860b6bb7128a13e17b78734c5f83a Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 11 Mar 2020 16:50:01 +0900 Subject: [PATCH 4/5] =?UTF-8?q?5.4=20=EB=B2=84=EC=A0=84=20=EA=B7=B8?= =?UTF-8?q?=EB=A3=B9=20=EC=B5=9C=EC=8B=A0=EA=B8=80=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/group.php | 2 +- theme/basic/group.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bbs/group.php b/bbs/group.php index e30c4dff3..62ede7705 100644 --- a/bbs/group.php +++ b/bbs/group.php @@ -39,7 +39,7 @@ $sql .= " order by bo_order "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { $lt_style = ""; - if ($i%2==1) $lt_style = "margin-left:2%"; + if ($i%3 !== 0) $lt_style = "margin-left:2%"; else $lt_style = ""; ?>
    diff --git a/theme/basic/group.php b/theme/basic/group.php index 6a2fbb55c..5a7736c22 100644 --- a/theme/basic/group.php +++ b/theme/basic/group.php @@ -30,7 +30,7 @@ $sql .= " order by bo_order "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { $lt_style = ""; - if ($i%2==1) $lt_style = "margin-left:2%"; + if ($i%3 !== 0) $lt_style = "margin-left:2%"; else $lt_style = ""; ?>
    From 7a7af424ce5c8887d3ba92e29440f71e6746d601 Mon Sep 17 00:00:00 2001 From: thisgun Date: Fri, 13 Mar 2020 11:12:03 +0900 Subject: [PATCH 5/5] =?UTF-8?q?=EB=B2=84=EC=A0=84=205.4.2.3=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 18985003a..8b2f4d3df 100644 --- a/config.php +++ b/config.php @@ -5,7 +5,7 @@ ********************/ define('G5_VERSION', '그누보드5'); -define('G5_GNUBOARD_VER', '5.4.2.2'); +define('G5_GNUBOARD_VER', '5.4.2.3'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true);