diff --git a/lib/latest.lib.php b/lib/latest.lib.php index 58eefd9fa..ec1366f3f 100644 --- a/lib/latest.lib.php +++ b/lib/latest.lib.php @@ -11,7 +11,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $options='') $cache_file = $g4['cache_latest_path']."/{$bo_table}_{$skin_dir}_{$rows}_{$subject_len}.php"; //if (!file_exists($cache_file)) { - if (0) { + if (1) { $list = array(); $sql = " select * from $g4[board_table] where bo_table = '$bo_table'"; @@ -29,7 +29,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $options='') } $handle = fopen($cache_file, "w"); - $cache_content = ""; + $cache_content = ""; //$cache_content = all_trim($cache_content); fwrite($handle, $cache_content); fclose($handle); diff --git a/skin/latest/neo/latest.skin.php b/skin/latest/neo/latest.skin.php index 74285319c..e4120e41b 100644 --- a/skin/latest/neo/latest.skin.php +++ b/skin/latest/neo/latest.skin.php @@ -2,7 +2,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 ?> -=$board['bo_subject']?> +=$bo_subject?>