toutpratique/controllers/front/HomeStoreController.php
Tout Pratique 5d50494bf6 recette
2015-11-17 10:12:52 +01:00

25 lines
521 B
PHP

<?php
class HomeStoreControllerCore extends FrontController
{
public $php_self = 'homestore';
public function canonicalRedirection($canonical_url = '')
{
parent::canonicalRedirection($this->context->link->getHomeStoreLink());
}
public function init()
{
parent::init();
}
public function initContent()
{
parent::initContent();
$id_lang = Context::getContext()->language->id;
$this->setTemplate(_PS_THEME_DIR_.'homestore.tpl');
}
}