> But when i type www.mysite.com/home-usa-2008
>
> I get the error : Uncaught exception 'Zend_Controller_Dispatcher_Exception'
> with message 'Invalid controller specified (home-usa-2008)'
Total guess: try removing the default routes before adding your own
$router->removeDefaultRoutes();
$router-
Hello,
I already did this.
What I did is extending :
class CustomRoute extends Zend_Controller_Router_Route
{
protected $_urlDelimiter = '-';
}
And after :
$router->addRoute(
'home',
new CustomRoute(
'home-:country-:date',
array(
'controller' => 'accueil',
'a
http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Controller/Router/Route.php
Check the properties. You can easily extend this class to use your own
delimiter.
-Matt
On Sun, Oct 5, 2008 at 5:00 AM, DarKA <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I would like to change the delimi
Hello,
I would like to change the delimiter of Zend Framework router. In my case,
from "/" to "__".
Does anyone has ever experienced this need.
--
View this message in context:
http://www.nabble.com/Change-delimiter-for-Zend-Router-tp19823902p19823902.html
Sent from the Zend Framework mailing l