From bc18fb0a5ecd5e61b8d99f8e2a3e3782ec42ab8f Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 20 Feb 2011 03:38:11 -0600 Subject: [PATCH] modified: config.php modified: yotsubanome.php --- config.php | 3 +++ yotsubanome.php | 1 + 2 files changed, 4 insertions(+) diff --git a/config.php b/config.php index f10398f..e2f7863 100755 --- a/config.php +++ b/config.php @@ -42,6 +42,9 @@ TODO: ChangeLog: ---------------------- +2001/2/20 +-[yotsubanome.php] fix post 0 page 0 index.htm bug + 2011/2/18 -[lib_common.php] credit was given where credit was due w diff --git a/yotsubanome.php b/yotsubanome.php index 941559a..d2903c4 100755 --- a/yotsubanome.php +++ b/yotsubanome.php @@ -264,6 +264,7 @@ function updatelog($resno=0,$page_num=-1,$single_page=false){ foot($dat); // 存檔 / 輸出 + //---- if($single_page || ($page_num == -1 && !$resno)){ // 靜態快取頁面生成 if($page_num == -1 && !$threads || ($single_page || ($page_num == -1 && !$resno))){ // 靜態快取頁面生成 if($page==0) $logfilename = PHP_SELF2; else $logfilename = $page.PHP_EXT; -- 2.39.2