Default CMSMain to Versioned::reading_stage("Stage")

Regression caused by https://github.com/silverstripe/silverstripe-framework/pull/2585
This commit is contained in:
Ingo Schommer 2013-10-23 14:29:24 +02:00
parent 27c8122123
commit 3d9fc2cc4c
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
}
parent::init();
Versioned::reading_stage("Stage");
Requirements::css(CMS_DIR . '/css/screen.css');
Requirements::customCSS($this->generatePageIconsCss());