// Fix comment typo

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10946 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-05 17:03:07 +00:00
parent 8d0f1e156d
commit 07420a2c0d
+1 -1
View File
@@ -233,7 +233,7 @@ class FrontControllerCore extends Controller
$page_name = Dispatcher::getInstance()->getController();
$page_name = (preg_match('/^[0-9]/', $page_name)) ? 'page_'.$page_name : $page_name;
// Arf we in a module ?
// Are we in a module ?
if (preg_match('#^'.preg_quote($this->context->shop->getPhysicalURI(), '#').'modules/([a-zA-Z0-9_-]+?)/(.*)$#', $_SERVER['REQUEST_URI'], $m))
$page_name = 'module-'.$m[1].'-'.str_replace(array('.php', '/'), array('', '-'), $m[2]);