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
Родитель a7438189f3
Коммит 3300d6ea53
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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) {