// Rename Module->smartyAssign to Module->templateAssign

[+] Front: Add module controller + url dispatch for modules

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8738 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-09-23 13:50:33 +00:00
parent 14a3e123db
commit 4181a8ea5b
21 changed files with 190 additions and 120 deletions
+8 -3
View File
@@ -1,6 +1,6 @@
<?php
/*
* 2007-2011 PrestaShop
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -25,5 +25,10 @@
* International Registered Trademark & Property of PrestaShop SA
*/
$controller = new FrontController();
$controller->init();
if (isset(Context::getContext()->controller))
$controller = Context::getContext()->controller;
else
{
$controller = new FrontController();
$controller->init();
}