mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-05-21 05:40:47 +00:00
24 lines
573 B
PHP
24 lines
573 B
PHP
<?php
|
|
namespace ScummVM\Pages;
|
|
|
|
class ExceptionsPage extends \ScummVM\Controller
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->template = 'components/exception.tpl';
|
|
}
|
|
|
|
/* Display the index page. */
|
|
public function index($exception)
|
|
{
|
|
return $this->renderPage(
|
|
array(
|
|
'title' => $this->getConfigVars('exceptionsTitle'),
|
|
'content_title' => $this->getConfigVars('exceptionsContentTitle'),
|
|
'exception' => $exception,
|
|
)
|
|
);
|
|
}
|
|
}
|