toutpratique/controllers/front/HomeStoreController.php

25 lines
521 B
PHP
Raw Normal View History

2015-08-21 17:29:32 +02:00
<?php
class HomeStoreControllerCore extends FrontController
{
2015-11-17 10:12:52 +01:00
public $php_self = 'homestore';
public function canonicalRedirection($canonical_url = '')
{
parent::canonicalRedirection($this->context->link->getHomeStoreLink());
}
2015-08-21 17:29:32 +02:00
2015-11-17 10:12:52 +01:00
public function init()
{
parent::init();
}
2015-08-21 17:29:32 +02:00
2015-11-17 10:12:52 +01:00
public function initContent()
{
parent::initContent();
$id_lang = Context::getContext()->language->id;
$this->setTemplate(_PS_THEME_DIR_.'homestore.tpl');
}
2015-08-21 17:29:32 +02:00
2015-11-17 10:12:52 +01:00
}