// Norm on controllers
This commit is contained in:
1 parent
8d19f130d7
commit
f65df2f2ae
38 files changed
+252
-272
No files matched your search
@@ -76,11 +76,10 @@ class CmsControllerCore extends FrontController
|
||||
|
||||
/**
|
||||
* Assign template vars related to page content
|
||||
* @see FrontController::process()
|
||||
* @see FrontController::initContent()
|
||||
*/
|
||||
public function process()
|
||||
public function initContent()
|
||||
{
|
||||
parent::process();
|
||||
$parent_cat = new CMSCategory(1, $this->context->language->id);
|
||||
$this->context->smarty->assign('id_current_lang', $this->context->language->id);
|
||||
$this->context->smarty->assign('home_title', $parent_cat->name);
|
||||
|
||||
Reference in new issue
Block a user