36 lines
700 B
PHP
36 lines
700 B
PHP
<?php
|
|
|
|
/**
|
|
* Class IMojeFailureModuleFrontController
|
|
*
|
|
* @property bool display_column_left
|
|
* @property bool display_column_right
|
|
*/
|
|
class IMojeFailureModuleFrontController extends ModuleFrontController
|
|
{
|
|
|
|
/**
|
|
* Initialize controller.
|
|
*
|
|
* @throws PrestaShopException
|
|
* @see FrontController::init()
|
|
*/
|
|
public function init()
|
|
{
|
|
$this->display_column_left = false;
|
|
$this->display_column_right = false;
|
|
parent::init();
|
|
}
|
|
|
|
/**
|
|
* @throws PrestaShopException
|
|
*/
|
|
public function initContent()
|
|
{
|
|
global $smarty;
|
|
parent::initContent();
|
|
$smarty->assign('ga_key', Configuration::get('IMOJE_GA_KEY'));
|
|
$this->setTemplate(IMoje::buildTemplatePath('failure', 'front'));
|
|
}
|
|
}
|