mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed error resulting from new Controller code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40592 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
734cf2ad4f
commit
15d03ffdef
@ -105,7 +105,7 @@ class Security extends Controller {
|
|||||||
|
|
||||||
$controller = new Page_Controller($tmpPage);
|
$controller = new Page_Controller($tmpPage);
|
||||||
$controller->init();
|
$controller->init();
|
||||||
Controller::$currentController = $controller;
|
//Controller::$currentController = $controller;
|
||||||
|
|
||||||
if(SSViewer::hasTemplate("Security_login")) {
|
if(SSViewer::hasTemplate("Security_login")) {
|
||||||
return $controller->renderWith(array("Security_login", "Page"));
|
return $controller->renderWith(array("Security_login", "Page"));
|
||||||
|
Loading…
Reference in New Issue
Block a user