ok now I created:
$router->addRoute(
'url',
new
Zend_Controller_Router_Route(':lang/:module/:category/:controller/:action/:test',
array('module'=>'default', 'controller' => 'index', 'action' => 'index',
'lang' => 'en', 'category'=> 'categ1', 'test'=>'somevalue'))
);
but the
zfuser wrote:
I created router
$router = $frontController->getRouter();
$router->addRoute(
'url',
new
Zend_Controller_Router_Route(':lang/:module/:category/:controller/:action/:test',
array('module'=>'default', 'controller' => 'index', 'action' => 'index',
'lang' => 'en', 'category
I created router
$router = $frontController->getRouter();
$router->addRoute(
'url',
new
Zend_Controller_Router_Route(':lang/:module/:category/:controller/:action/:test',
array('module'=>'default', 'controller' => 'index', 'action' => 'index',
'lang' => 'en', 'category'=> 'categ1'))
)