// Retro-compatibility fix of front controllers
This commit is contained in:
@@ -35,8 +35,9 @@ class IndexControllerCore extends FrontController
|
||||
*/
|
||||
public function initContent()
|
||||
{
|
||||
parent::initContent();
|
||||
|
||||
$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