Fix ugly error style on install
By initializing the template engine first we can show the 'Can't write into config directory 'config'' error in a nice way instead of plain unstyled HTML.
This commit is contained in:
parent
05ab9d2de7
commit
f1a63254fb
1 changed files with 1 additions and 1 deletions
|
@ -467,11 +467,11 @@ class OC {
|
|||
stream_wrapper_register('close', 'OC\Files\Stream\Close');
|
||||
stream_wrapper_register('oc', 'OC\Files\Stream\OC');
|
||||
|
||||
self::initTemplateEngine();
|
||||
self::checkConfig();
|
||||
self::checkInstalled();
|
||||
self::checkSSL();
|
||||
self::initSession();
|
||||
self::initTemplateEngine();
|
||||
|
||||
$errors = OC_Util::checkServer();
|
||||
if (count($errors) > 0) {
|
||||
|
|
Loading…
Reference in a new issue