Re: [fw-general] Problems with custom routes - possibly bug ?

2007-08-12 Thread Cristian Bichis
Thank you. Problem solved. -- Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zflinks.com | www.zftalk.com Cristian Bichis wrote: Loading of routes is simple: $router = $frontController-getRouter(); $router-removeDefaultRoutes();

Re: [fw-general] Problems with custom routes - possibly bug ?

2007-08-10 Thread Martel Valgoerad
Cristian Bichis wrote: Loading of routes is simple: $router = $frontController-getRouter(); $router-removeDefaultRoutes(); $router-addConfig($config, 'routes'); AddConfig calls getInstance method on route object, so you need to override this one as well. Get a closer

[fw-general] Problems with custom routes - possibly bug ?

2007-08-10 Thread Cristian Bichis
Hello, I am working with some custom routes for a site. I am loading routes from a .ini file: routes.sa.type = Imagis_Controller_Router_Route routes.sa.route = :seo_:page_:language_:v1_:v2 routes.sa.defaults.seo = site description routes.sa.defaults.page = 1 routes.sa.defaults.language = ro