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:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user