framework出现Application error,怎么回事???
//查看这个ip是否被禁用
$filterModel = new Filter();
$filters = $filterModel->fetchAll("ip='$ip'")->toArray();
if (count($filters)>=1)
{
$this->view->info = '你被禁用了';
$this->_forward('error','global');
return ;
}
加上return就出现Application error错误,不加就正常,如果加exit()连消息框也不提示,求解,怎么回事???
------解决方案--------------------
index未配好啊.