在westdc上添加了用户登录后跳转到来源页面的功能

This commit is contained in:
Li Jianxuan 2012-07-06 03:30:59 +00:00
parent 17b91d0175
commit d314ff67b0
1 changed files with 5 additions and 0 deletions

View File

@ -138,6 +138,11 @@ class AccountController extends Zend_Controller_Action
}else{
$this->_redirect($this->_request->getParam('return'));
}
if($_SERVER['REQUEST_URI']!='/account/login')
{
$this->_redirect($_SERVER['REQUEST_URI']);
}
}
} else {