在westdc上添加了用户登录后跳转到来源页面的功能
This commit is contained in:
parent
17b91d0175
commit
d314ff67b0
|
@ -138,6 +138,11 @@ class AccountController extends Zend_Controller_Action
|
||||||
}else{
|
}else{
|
||||||
$this->_redirect($this->_request->getParam('return'));
|
$this->_redirect($this->_request->getParam('return'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($_SERVER['REQUEST_URI']!='/account/login')
|
||||||
|
{
|
||||||
|
$this->_redirect($_SERVER['REQUEST_URI']);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue