From: sparky4 Date: Sun, 20 Feb 2011 09:55:57 +0000 (-0600) Subject: modified: yotsubanome.php X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=2c78198e4d0911bc58e208b076695aee04b5cc69;p=test.git modified: yotsubanome.php --- diff --git a/yotsubanome.php b/yotsubanome.php index d2903c4..06b06e4 100755 --- a/yotsubanome.php +++ b/yotsubanome.php @@ -265,7 +265,7 @@ function updatelog($resno=0,$page_num=-1,$single_page=false){ // 存檔 / 輸出 //---- if($single_page || ($page_num == -1 && !$resno)){ // 靜態快取頁面生成 - if($page_num == -1 && !$threads || ($single_page || ($page_num == -1 && !$resno))){ // 靜態快取頁面生成 + if($page_num = $threads == 0 || ($single_page || ($page_num == -1 && !$resno))){ // 靜態快取頁面生成 if($page==0) $logfilename = PHP_SELF2; else $logfilename = $page.PHP_EXT; $fp = fopen($logfilename, 'w');