// Fix modules route for dispatcher
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9574 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -108,9 +108,9 @@ class DispatcherCore
|
||||
),
|
||||
'module' => array(
|
||||
'controller' => 'module',
|
||||
'rule' => 'module/{name}/{action}',
|
||||
'rule' => 'module/{module}/{action}',
|
||||
'keywords' => array(
|
||||
'name' => array('regexp' => '[a-zA-Z0-9_-]+', 'param' => 'module'),
|
||||
'module' => array('regexp' => '[a-zA-Z0-9_-]+', 'param' => 'module'),
|
||||
'action' => array('regexp' => '[a-zA-Z0-9_-]+', 'param' => 'action'),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user