Merge branch 'master' of github.com:gnuboard/g5
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
********************/
|
********************/
|
||||||
|
|
||||||
define('G5_VERSION', '그누보드5');
|
define('G5_VERSION', '그누보드5');
|
||||||
define('G5_GNUBOARD_VER', '5.4.5');
|
define('G5_GNUBOARD_VER', '5.4.5.1');
|
||||||
|
|
||||||
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
|
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
|
||||||
define('_GNUBOARD_', true);
|
define('_GNUBOARD_', true);
|
||||||
|
|||||||
@ -96,7 +96,7 @@ function g5_delete_cache_by_prefix($key){
|
|||||||
$cache = get_cachemanage_instance();
|
$cache = get_cachemanage_instance();
|
||||||
$files = null;
|
$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.'*');
|
$files = glob(G5_DATA_PATH.'/cache/'.$key.'*');
|
||||||
|
|
||||||
foreach( (array) $files as $filename){
|
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;
|
return ($files) ? true : false;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user