From: Bernhard Posselt Date: Wed, 27 Feb 2013 10:36:05 +0000 (+0100) Subject: only add style.css to initsession X-Git-Tag: v5.0.0RC1~21^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a1afc2e34f4652d791b78e7f541712301cd48c9d;p=nextcloud-server.git only add style.css to initsession --- diff --git a/lib/base.php b/lib/base.php index 8654f9906fd..b46a97af640 100644 --- a/lib/base.php +++ b/lib/base.php @@ -326,6 +326,7 @@ class OC { OC_Log::ERROR); header('HTTP/1.1 500 Internal Server Error'); + OC_Util::addStyle("styles"); $error = 'Session could not be initialized. Please contact your '; $error .= 'system administrator'; @@ -459,8 +460,8 @@ class OC { self::checkConfig(); self::checkInstalled(); self::checkSSL(); - self::initTemplateEngine(); self::initSession(); + self::initTemplateEngine(); $errors = OC_Util::checkServer(); if (count($errors) > 0) {