cache 생성 및 삭제 작업중

This commit is contained in:
gnuboard
2013-01-23 19:08:59 +09:00
parent 0a6c2102c3
commit 989b76a14c
6 changed files with 69 additions and 21 deletions

View File

@ -10,7 +10,8 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $options='')
$latest_skin_path = skin_path().'/latest/'.$skin_dir;
$cache_file = $g4['cache_latest_path']."/{$bo_table}_{$skin_dir}_{$rows}_{$subject_len}.php";
if (!file_exists($cache_file)) {
//if (!file_exists($cache_file)) {
if (0) {
$list = array();
$sql = " select * from $g4[board_table] where bo_table = '$bo_table'";