diff --git a/lib/base.php b/lib/base.php index 8654f9906fd1bec4d23002cabf4934330c0dd0ac..b46a97af6408fea5dab1d3cd5d4a085b06aa5412 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) {