mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Fix publishing of error pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@67137 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
080be5ef98
commit
a037a24148
@ -97,7 +97,7 @@ class ErrorPage extends Page {
|
||||
$oldStage = Versioned::current_stage();
|
||||
|
||||
// Run the page
|
||||
$response = Director::test($this->Link());
|
||||
$response = Director::test($this->URLSegment);
|
||||
$errorContent = $response->getBody();
|
||||
|
||||
if(!file_exists(ASSETS_PATH)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user