From 18b7a2bf2139245897fa4d6633d2e115ba72d927 Mon Sep 17 00:00:00 2001
From: Bernhard Posselt <nukeawhale@gmail.com>
Date: Wed, 27 Feb 2013 11:17:14 +0100
Subject: [PATCH] add css and scripts before session init

---
 lib/base.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/base.php b/lib/base.php
index f9bb1bb11b..8654f9906f 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -459,8 +459,8 @@ class OC {
 		self::checkConfig();
 		self::checkInstalled();
 		self::checkSSL();
-		self::initSession();
 		self::initTemplateEngine();
+		self::initSession();
 
 		$errors = OC_Util::checkServer();
 		if (count($errors) > 0) {
-- 
GitLab