summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-03-30 23:33:36 +0200
committerBart Visscher <bartv@thisnet.nl>2012-03-30 23:41:54 +0200
commit3300d6ea532a973e987c7aeeef1af63a60487c58 (patch)
treed17ad188d402f5d5a5edfe396cfb8cc0c3078e42 /lib/base.php
parenta7438189f315288c5e57bbf3bfb59a37c896cd6c (diff)
downloadnextcloud-server-3300d6ea532a973e987c7aeeef1af63a60487c58.tar.gz
nextcloud-server-3300d6ea532a973e987c7aeeef1af63a60487c58.zip
checkUpgrade has to be after template initialization
The error path of checkUpgrade uses the template
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index e9788f54b66..22f7f4ea486 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -303,10 +303,10 @@ class OC{
self::checkInstalled();
self::checkSSL();
- self::checkUpgrade();
self::initSession();
self::initTemplateEngine();
+ self::checkUpgrade();
$errors=OC_Util::checkServer();
if(count($errors)>0) {