From 13c24945692f3e7960231a8935db6fd93424adb8 Mon Sep 17 00:00:00 2001 From: thisgun Date: Fri, 5 Feb 2021 17:10:51 +0900 Subject: [PATCH 1/2] =?UTF-8?q?g5=5Fdelete=5Fcache=5Fby=5Fprefix=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=EB=82=B4=20=EC=9E=98=EB=AA=BB=EB=90=9C=20?= =?UTF-8?q?=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/cache.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cache.lib.php b/lib/cache.lib.php index 25790dd92..b416ea539 100644 --- a/lib/cache.lib.php +++ b/lib/cache.lib.php @@ -96,7 +96,7 @@ function g5_delete_cache_by_prefix($key){ $cache = get_cachemanage_instance(); $files = null; - if( (is_object($instance) && get_class($instance) === 'FileCache') ) { + if( (is_object($cache) && get_class($cache) === 'FileCache') ) { $files = glob(G5_DATA_PATH.'/cache/'.$key.'*'); foreach( (array) $files as $filename){ @@ -106,7 +106,7 @@ function g5_delete_cache_by_prefix($key){ } } - $files = run_replace('g5_delete_cache_by_prefix', $files, $key); + $files = run_replace('g5_delete_cache_by_prefix', $files, $key, $cache); return ($files) ? true : false; } \ No newline at end of file From e7a0555bf76b8a462697ea3558e85cd3eb26183c Mon Sep 17 00:00:00 2001 From: thisgun Date: Fri, 5 Feb 2021 17:11:26 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=B2=84=EC=A0=84=205.4.5.1=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 ff427fd89..9fda63c91 100644 --- a/config.php +++ b/config.php @@ -5,7 +5,7 @@ ********************/ define('G5_VERSION', '그누보드5'); -define('G5_GNUBOARD_VER', '5.4.5'); +define('G5_GNUBOARD_VER', '5.4.5.1'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true);