diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-09 11:11:00 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-09 11:11:00 +0100 |
commit | 642c38ffb2f01c1057a9dc15f494b8c43647f807 (patch) | |
tree | 95c6272e02f51fa8119797a189cac388e2ba236a /lib | |
parent | afe3fdbf49b77c9f3dfd45a29fb7971c2a6e12b7 (diff) | |
download | nextcloud-server-642c38ffb2f01c1057a9dc15f494b8c43647f807.tar.gz nextcloud-server-642c38ffb2f01c1057a9dc15f494b8c43647f807.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/util.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index f6191b96aa2..6f53be8446a 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -726,7 +726,8 @@ class OC_Util { 'classes' => array( 'ZipArchive' => 'zip', 'DOMDocument' => 'dom', - 'XMLWriter' => 'XMLWriter' + 'XMLWriter' => 'XMLWriter', + 'XMLReader' => 'XMLReader', ), 'functions' => [ 'xml_parser_create' => 'libxml', |