Files
2024-11-11 18:46:54 +01:00

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'));
}
}