Files
scummvm-web/include/Pages/ExceptionsPage.php
T

32 lines
709 B
PHP

<?php
namespace ScummVM\Web\Pages;
require_once('Controller.php');
class ExceptionsPage extends Controller
{
private $_template;
/* Constructor. */
public function __construct()
{
parent::__construct();
$this->_template = 'components/exception.tpl';
}
/* Display the index page. */
public function index($exception)
{
global $Smarty;
return $this->renderPage(
array(
'title' => $Smarty->getConfigVars('exceptionsTitle'),
'content_title' => $Smarty->getConfigVars('exceptionsContentTitle'),
'exception' => $exception,
),
$this->_template
);
}
}