| #257 | $mid = isset($conf['mid']) ? intval($conf['mid']) : (isset($run->_var['mid']) ? $run->_var['mid'] : 2); |
| #258 | $type = isset($conf['type']) && in_array($conf['type'], array('sibling', 'child', 'parent', 'top')) ? $conf['type'] : 'sibling'; |
| #259 | $nocids = empty($conf['nocids']) ? '' : $conf['nocids']; |
| #260 | $limit = _int($conf, 'limit', 0); |
| #261 | $life = isset($conf['life']) ? (int)$conf['life'] : (isset($run->_cfg['life']) ? (int)$run->_cfg['life'] : 0); |
| #262 | $cache_params = array($cid, $mid, $type, $nocids, $limit); |
| #263 | |
| #264 | |
| #265 | |
| #266 | //优先从缓存表读取。加前缀,避免不同的block,相同的cache_params,导致缓存数据错乱 |