최신글 cache 반영되도록 수정
This commit is contained in:
@ -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.'&'.$qstr);
|
||||
|
||||
@ -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);
|
||||
?>
|
||||
@ -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}&{$qstr}");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user