I'd like to change the way URLs that Zend Framework is generating from this:
$routeString = '/section/:sectionName';
$route = new Zend_Controller_Router_Route(routeString, array( etc, etc... );
...to this...
$routeString = '/section_:sectionName';
$route = new Zend_Controller_Router_Route(routeString, array( etc, etc... );
Note that in the second option the middle slash in $routeString
is replaced by an underscore.
When I make this change, the router stops recognizing the route and variables. I find it quite strange that the framework would impose such thing so I'm sure I'm missing something in the docs.
Cheers!