Archived
1
0
Fork 0
This repository has been archived on 2023-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
ts3web/src/Control/Actions/InternalApplicationError.php
2018-04-03 13:56:20 +02:00

15 lines
No EOL
423 B
PHP

<?php
use Slim\Http\Request;
use Slim\Http\Response;
final class InternalApplicationError extends AbstractAction
{
public function __invoke(Request $request, Response $response, $args)
{
return $this->view->render($response, 'error.twig', [
'title' => $this->translator->trans('error.500.title'),
'content' => $this->translator->trans('error.500.content')
]);
}
}