<?php
/**
* 公共控制器
*/
class CommonAction extends Action{
public function _initialize(){
if(session('?username')){
$this->redirect(GROUP_NAME.'/Index/index');
} else{
$this->redirect(GROUP_NAME.'/Login/index');
};
}
}
?>用火狐,此页面不能正确地重定向Firefox 检测到该服务器正在将此地址的请求循环重定向。
其他浏览器也是此种情况 网上说要清除cookie 发现没用!
最佳答案