3.1.3 - 致命 - 未处理
$this->redirect();
1.在action类里面做跳转,$this->redirect('/');是跳转到首页 但是url路径是:http://www.****.com/index.php 而不是http://www.***.com
2.在判断登陆跳转的时候,引用到$_SERVER['REQUEST_URI'],记录如是 /index.php/***.html,使用$this->redirect($_SERVER['REQUEST_URI']);跳转的时候,路径会默认加 /index.php/index.php/***.html.html会变成这样,到不了准确路径,报错!!!
$this->redirect();这个做跳转真心不好用,不知道大伙有木有其他好办法
