3.3.1手机端登陆后跳转页面在哪里,我想改成登陆后跳转到个人页面,我找了下 
 
app/m/main.php  里的  login_action   改了return_rul 也没用还是跳转到m/ 主页  ..
 
 
public function login_action()
    {
        $url = base64_decode($_GET['url']);
        if ($this->user_id)
        {
            if ($url)
            {
                header('Location: ' . $url);
                //header('Location: https://www.duibaiapp.com/m/');
                //HTTP::redirect('/m/p_'.$this->user_info['uid'].'.html');
            }
            else
            {
                //HTTP::redirect('/m/');
                HTTP::redirect('/m/p_'.$this->user_info['uid'].'.html');
                //header('Location: https://www.duibaiapp.com/m/topic/');
            }
        }
        if ($url)
        {
            $return_url = $url;
        }
        else if (strstr($_SERVER['HTTP_REFERER'], '/m/my/'))
        {
            $return_url = $_SERVER['HTTP_REFERER'];
        }
        else
        {
            $return_url = get_js_url('/m/my/');
        }
        if (in_weixin() AND get_setting('weixin_app_id') AND get_setting('weixin_account_role') == 'service')
        {
            HTTP::redirect($this->model('openid_weixin_weixin')->redirect_url($return_url));
        }
        
        TPL::assign('body_class', 'explore-body');
        TPL::assign('return_url', strip_tags($return_url));
        $this->crumb(AWS_APP::lang()->_t('登录'), '/m/login/');
        TPL::output('m/login');
 
                                     阅读全文
                                
                                
                                     收起全文