// Add missing call of parent::initContent() in all front class (when initContent exists)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11215 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-12-14 16:22:50 +00:00
parent b48c20d1d5
commit abc215a343
33 changed files with 34 additions and 1 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ class IndexControllerCore extends FrontController
*/
public function initContent()
{
$this->context->smarty->assign('HOOK_HOME', Hook::exec('home'));
$this->context->smarty->assign('HOOK_HOME', Hook::exec('displayHome'));
$this->setTemplate(_PS_THEME_DIR_.'index.tpl');
parent::initContent();
}
}