]> 4ch.mooo.com Git - test.git/commitdiff
modified: yotsubanome.php
authorsparky4 <sparky4@4ch.irc.su>
Sun, 20 Feb 2011 09:55:57 +0000 (03:55 -0600)
committersparky4 <sparky4@4ch.irc.su>
Sun, 20 Feb 2011 09:55:57 +0000 (03:55 -0600)
yotsubanome.php

index d2903c458f505437854c66e025429bfb4d08e5d6..06b06e44fa7eb4647c74a457453057f14ff387d6 100755 (executable)
@@ -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');