From d314ff67b0a8577448e6ccfbedfb69c1411ac014 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Fri, 6 Jul 2012 03:30:59 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8westdc=E4=B8=8A=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=BA=86=E7=94=A8=E6=88=B7=E7=99=BB=E5=BD=95=E5=90=8E=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=88=B0=E6=9D=A5=E6=BA=90=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/AccountController.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/default/controllers/AccountController.php b/application/default/controllers/AccountController.php index 13963838..52c85970 100755 --- a/application/default/controllers/AccountController.php +++ b/application/default/controllers/AccountController.php @@ -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 {