I'm trying to implement a little routing in my bootstrap script (before the
dispatcher starts). Essentially, under very specific conditions, I need to
alter the controller that is invoked. I found
Zend_Controller_Action_HelperBroker and the Redirector, but I can't seem to
get them to function outside of an Action Controller. I've tried various
combinations of code similar to this -
$redirector =
Zend_Controller_Action_HelperBroker::getExistingHelper('Redirector');
$redirector->goto('index');
...but nothing seems to work. I've looked through the docs, and all of the
examples seem to function inside of a controller. Is there an easy way to
accomplish what I'm trying to do?
Thanks,
- Ryan