// 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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user