You could create a new router with the second set of routes and then try to the request against the second router.
$routerTwo = new Zend_Controller_Router_Rewrite();
// Load Second Set Of Routes
$routerTwo->route($this->getRequest());
On Jan 12, 2011, at 10:58 AM, mirceasoaica wrote:
>
> is there a way to replace all routes in routeStartup() in case the request is
> not dispatchable ?
>
> i have 2 sets of rules. if one set fails i have to use the second one.
>
> i can't use them both as the second set of rules will overwrite the first
> ones.
>
> i hope you understand my problem!
>
> thanks
> --
> View this message in context: http://zend-framework-community.634137.n4.nabble.com/replace-routes-tp3214502p3214502.html
> Sent from the Zend MVC mailing list archive at Nabble.com.
Shawn Ostler
InclusiveDv
shawn@inclusivedv.com
801-688-6946
没有评论:
发表评论