checkUpgrade has to be after template initialization
The error path of checkUpgrade uses the template
This commit is contained in:
parent
a7438189f3
commit
3300d6ea53
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue