mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fixed bug publishing homepage using Director::test
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62756 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
28699c3550
commit
4b2af337d8
@ -17,7 +17,9 @@ class RootURLController extends Controller {
|
|||||||
$request = new HTTPRequest("GET", self::get_homepage_urlsegment().'/', $request->getVars(), $request->postVars());
|
$request = new HTTPRequest("GET", self::get_homepage_urlsegment().'/', $request->getVars(), $request->postVars());
|
||||||
$request->match('$URLSegment//$Action');
|
$request->match('$URLSegment//$Action');
|
||||||
|
|
||||||
return $controller->handleRequest($request);
|
$result = $controller->handleRequest($request);
|
||||||
|
$controller->popCurrent();
|
||||||
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user