在westdc上添加了用户登录后跳转到来源页面的功能
This commit is contained in:
parent
17b91d0175
commit
d314ff67b0
|
@ -139,6 +139,11 @@ class AccountController extends Zend_Controller_Action
|
||||||
$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 {
|
||||||
//$formData['redirect'] = $redirect;
|
//$formData['redirect'] = $redirect;
|
||||||
|
|
Loading…
Reference in New Issue