From 642c38ffb2f01c1057a9dc15f494b8c43647f807 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 9 Mar 2016 11:11:00 +0100 Subject: [PATCH] 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 --- lib/private/util.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/private/util.php b/lib/private/util.php index f6191b96aa..6f53be8446 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',