From feee8cb4388b3994cd47f39a162251dc35cfc1a0 Mon Sep 17 00:00:00 2001 From: rMalie Date: Mon, 24 Oct 2011 08:38:45 +0000 Subject: [PATCH] // Fix modules route for dispatcher git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9574 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Dispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Dispatcher.php b/classes/Dispatcher.php index 46f2a051c..a56e20192 100644 --- a/classes/Dispatcher.php +++ b/classes/Dispatcher.php @@ -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'), ), ),