mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/controller] Check for proper status codes from controllers
PHPBB3-10864
This commit is contained in:
@@ -27,4 +27,9 @@ class phpbb_ext_foo_bar_controller
|
||||
|
||||
return $this->helper->render('foo_bar_body.html');
|
||||
}
|
||||
|
||||
public function exception()
|
||||
{
|
||||
throw new phpbb_controller_exception('Exception thrown from foo/exception route');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user