I'm writing an auth plugin that should redirect the user to the login
page if she is not logged in. After the call to
Zend_Controller_Action_Helper_Redirector::gotoUrl the controller
action gets called anyway.
Calling gotoUrlAndExit() is not an options since it will kill the unit
tests interpreter.
I dug into the code, but couldn't find a way to stop the action from
being called.
Regards
--
My place to share my ideas:
http://bolddream.com (now live :)
没有评论:
发表评论