최신글 cache 반영되도록 수정

This commit is contained in:
gnuboard
2013-02-20 17:35:47 +09:00
parent 7870d22b1f
commit 04be32a25e
11 changed files with 24 additions and 16 deletions

View File

@ -181,6 +181,9 @@ if (count($file_copy)) {
}
}
delete_cache_latest($bo_table);
delete_cache_latest($target_table);
echo "<script>opener.document.location.reload();</script>";
alert("복사에 성공 했습니다.", './board_copy.php?bo_table='.$bo_table.'&amp;'.$qstr);

View File

@ -26,6 +26,8 @@ sql_query(" delete from {$g4['board_file_table']} where bo_table = '{$tmp_bo_tab
// 게시판 테이블 DROP
sql_query(" drop table {$g4['write_prefix']}{$tmp_bo_table} ", FALSE);
delete_cache_latest($tmp_bo_table);
// 게시판 폴더 전체 삭제
rm_rf(G4_DATA_PATH.'/file/'.$tmp_bo_table);
?>

View File

@ -278,5 +278,7 @@ if ($fields) {
sql_query($sql);
}
delete_cache_latest($bo_table);
goto_url("./board_form.php?w=u&bo_table={$bo_table}&amp;{$qstr}");
?>