1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Use e107::getError()->render() instead.

This commit is contained in:
Lóna Lore
2016-12-15 19:11:50 +01:00
parent 2667537fd1
commit a59888a1e8
4 changed files with 125 additions and 117 deletions

View File

@@ -48,7 +48,7 @@ class core_system_error_controller extends eController
*/
public function actionForbidden()
{
e107::setErrorPage(403);
e107::getError()->render(403);
}
/**
@@ -56,7 +56,7 @@ class core_system_error_controller extends eController
*/
public function actionNotfound()
{
e107::setErrorPage(404);
e107::getError()->render(404);
}
}