Merge branch 'master' of github.com:gnuboard/g5

This commit is contained in:
thisgun
2017-12-06 19:02:52 +09:00
155 changed files with 31784 additions and 31294 deletions

View File

@ -2137,6 +2137,10 @@ function check_device($device)
// 게시판 최신글 캐시 파일 삭제
function delete_cache_latest($bo_table)
{
if (!preg_match("/^([A-Za-z0-9_]{1,20})$/", $bo_table)) {
return;
}
$files = glob(G5_DATA_PATH.'/cache/latest-'.$bo_table.'-*');
if (is_array($files)) {
foreach ($files as $filename)