| #377 | $showsoncate = _int($conf, 'showsoncate', 0); |
| #378 | $field_format = _int($conf, 'field_format', 0); |
| #379 | $life = isset($conf['life']) ? (int)$conf['life'] : (isset($run->_cfg['life']) ? (int)$run->_cfg['life'] : 0); |
| #380 | $extra = array('block_name'=>'block_list'); |
| #381 | $cache_params = array($cid, $cids, $mid, $dateformat, $titlenum, $intronum, $orderby, $orderway, $start, $limit, $showcate, $showviews, $showsoncate, $field_format); |
| #382 | |
| #383 | |
| #384 | |
| #385 | //优先从缓存表读取。加前缀,避免不同的block,相同的cache_params,导致缓存数据错乱 |
| #386 | $cache_key = $life ? md5('list'.serialize($cache_params)) : ''; |