checkUpgrade has to be after template initialization

The error path of checkUpgrade uses the template
This commit is contained in:
Bart Visscher 2012-03-30 23:33:36 +02:00
parent a7438189f3
commit 3300d6ea53
1 changed files with 1 additions and 1 deletions

View File

@ -303,10 +303,10 @@ class OC{
self::checkInstalled(); self::checkInstalled();
self::checkSSL(); self::checkSSL();
self::checkUpgrade();
self::initSession(); self::initSession();
self::initTemplateEngine(); self::initTemplateEngine();
self::checkUpgrade();
$errors=OC_Util::checkServer(); $errors=OC_Util::checkServer();
if(count($errors)>0) { if(count($errors)>0) {