Add XMLReader as requirement

The SabreDAV release in 9.0 requires XMLReader, while this is usually compiled in by default some distributions like Gentoo don't.

Without this ownCloud gives a fatal 500 error instead of telling people to enable XMLReader.

Fixes https://github.com/owncloud/core/issues/23003
This commit is contained in:
Lukas Reschke 2016-03-09 11:11:00 +01:00
parent afe3fdbf49
commit 642c38ffb2

View file

@ -726,7 +726,8 @@ class OC_Util {
'classes' => array(
'ZipArchive' => 'zip',
'DOMDocument' => 'dom',
'XMLWriter' => 'XMLWriter'
'XMLWriter' => 'XMLWriter',
'XMLReader' => 'XMLReader',
),
'functions' => [
'xml_parser_create' => 'libxml',