#1 azwl
更新到sp b3后,为访问统计增加了router_postfilter如下:
'launch' => array(
'router_prefilter' => array(
array('Museracl', 'mincheck') // 开启有限的权限控制
// array('spAcl','maxcheck') // 开启强制的权限控制
),
'router_postfilter' => array(
array('Mvisit', 'index')
)
)
发现 'router_postfilter'中的 "Mvisit" 只能在model 中 而不能是在controller中
2010-05-07 11:30:49