일부 수정

This commit is contained in:
whitedot
2013-02-07 18:39:56 +09:00
parent e59758c62f
commit f5cc564e42
3 changed files with 10 additions and 9 deletions

View File

@ -11,12 +11,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40)
$latest_skin_url = G4_SKIN_URL.'/latest/'.$skin_dir;
$cache_file = G4_DATA_PATH."/cache/latest-{$bo_table}-{$skin_dir}-{$rows}-{$subject_len}.php";
<<<<<<< HEAD
//if (!file_exists($cache_file)) {
if (1) {
=======
if (!G4_USE_CACHE || !file_exists($cache_file)) {
>>>>>>> ddb1dec36c49f24441636f5e3dcb1e1db20a0d2b
$list = array();
$sql = " select * from {$g4['board_table']} where bo_table = '$bo_table'";
@ -48,4 +43,4 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40)
return $content;
}
?>
?>