mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Disallow nested ErrorPage instances via canAddChildren()
This commit is contained in:
parent
c1d5e9baa7
commit
53ed7c496e
@ -26,6 +26,8 @@ class ErrorPage extends Page {
|
||||
|
||||
protected static $static_filepath = ASSETS_PATH;
|
||||
|
||||
public function canAddChildren($member = null) { return false; }
|
||||
|
||||
/**
|
||||
* Get a {@link SS_HTTPResponse} to response to a HTTP error code if an {@link ErrorPage} for that code is present.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user