From 3d9fc2cc4ca1a969265b9427b69930ceb91c55c9 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 23 Oct 2013 14:29:24 +0200 Subject: [PATCH] Default CMSMain to Versioned::reading_stage("Stage") Regression caused by https://github.com/silverstripe/silverstripe-framework/pull/2585 --- code/controllers/CMSMain.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index 5a7df794..2afe4df9 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -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());