_PATH, _URL 1단계 디렉토리까지만 선언하고 정리

This commit is contained in:
gnuboard
2013-02-07 11:24:50 +09:00
parent 9cc00cda4c
commit 513ba88108
5 changed files with 9 additions and 36 deletions

View File

@ -10,7 +10,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40)
$latest_skin_path = G4_SKIN_PATH.'/latest/'.$skin_dir;
$latest_skin_url = G4_SKIN_URL.'/latest/'.$skin_dir;
$cache_file = G4_CACHE_PATH."/latest-{$bo_table}-{$skin_dir}-{$rows}-{$subject_len}.php";
$cache_file = G4_DATA_PATH."/cache/latest-{$bo_table}-{$skin_dir}-{$rows}-{$subject_len}.php";
//if (!file_exists($cache_file)) {
if (1) {
$list = array();