mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Use the homepage as a model for the security base-page, so that things like the current subsite are factored in
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41018 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b7ec0fd4df
commit
454949a4fc
@ -99,7 +99,7 @@ class Security extends Controller {
|
||||
Requirements::javascript("jsparty/prototype_improvements.js");
|
||||
Requirements::javascript("jsparty/scriptaculous/effects.js");
|
||||
|
||||
$tmpPage = new Page();
|
||||
$tmpPage = DataObject::get_one('Page', "URLSegment = 'home'");
|
||||
$tmpPage->Title = "Log in";
|
||||
$tmpPage->URLSegment = "Security";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user