Support translations for the UI, fixes #1
This commit is contained in:
@ -37,7 +37,7 @@ class ErrorPage extends SimplePage
|
||||
'language' => '',
|
||||
];
|
||||
|
||||
$template = new Template($params['templates'], $params['theme']['templates']);
|
||||
$template = new Template($params);
|
||||
|
||||
return $template->render('error', ['page' => $page, 'params' => $params]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user