only add style.css to initsession

This commit is contained in:
Bernhard Posselt 2013-02-27 11:36:05 +01:00
parent 18b7a2bf21
commit a1afc2e34f
1 changed files with 2 additions and 1 deletions

View File

@ -326,6 +326,7 @@ class OC {
OC_Log::ERROR); OC_Log::ERROR);
header('HTTP/1.1 500 Internal Server Error'); header('HTTP/1.1 500 Internal Server Error');
OC_Util::addStyle("styles");
$error = 'Session could not be initialized. Please contact your '; $error = 'Session could not be initialized. Please contact your ';
$error .= 'system administrator'; $error .= 'system administrator';
@ -459,8 +460,8 @@ class OC {
self::checkConfig(); self::checkConfig();
self::checkInstalled(); self::checkInstalled();
self::checkSSL(); self::checkSSL();
self::initTemplateEngine();
self::initSession(); self::initSession();
self::initTemplateEngine();
$errors = OC_Util::checkServer(); $errors = OC_Util::checkServer();
if (count($errors) > 0) { if (count($errors) > 0) {