diff --git a/config.php b/config.php index 181913d7e..71480a867 100644 --- a/config.php +++ b/config.php @@ -5,8 +5,8 @@ ********************/ define('G5_VERSION', '그누보드5'); -define('G5_GNUBOARD_VER', '5.4.5'); -define('G5_YOUNGCART_VER', '5.4.5'); +define('G5_GNUBOARD_VER', '5.4.5.1'); +define('G5_YOUNGCART_VER', '5.4.5.1'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true); 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