25 lines
521 B
PHP
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');
|
|
}
|
|
|
|
}
|