公告

Collapse
No announcement yet.

[解決]外部資料調用不能更新

Collapse
X
Collapse
Who has read this thread:
 
  • Filter
  • Time
  • Show
全部清除
新帖子

  • [解決]外部資料調用不能更新

    [hide]from: http://www.discuz.net/thread-1670834-1-1.html #12

    /source/function/function_block.php
    Code:
            if($forceupdate) {
    
                    block_updatecache($bid, true);
    
                    $block = $_G['block'][$bid];
    
            } elseif($block['cachetime'] > 0 && $_G['timestamp'] - $block['dateline'] > $block['cachetime']) {
    
                    block_updatecache($bid, true);
    
            if(empty($_G['blockupdate']) || $block['dateline'] < $_G['blockupdate']['dateline']) {
    
                    $_G['blockupdate'] = array('bid'=>$bid, 'dateline'=>$block['dateline']);
    
            }
    
            }
    添加紅字

    轉載: http://linux0911.no-ip.info/Discuz/t...13963-1-2.html

    [/hide]
Working...
X