summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-01 10:53:50 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-01 10:53:50 +0100
commit46a4af1dc2a35d9b5ab96ed7df6a7deb10d69ed6 (patch)
tree9206982e45d503b7d9416ba91c83ef8624d75689
parent2954169512f1f4094f572b23121e23b56fcdfb46 (diff)
parent85b7ee349b92fb201abb9e69505caabe6285688f (diff)
downloadnextcloud-server-46a4af1dc2a35d9b5ab96ed7df6a7deb10d69ed6.tar.gz
nextcloud-server-46a4af1dc2a35d9b5ab96ed7df6a7deb10d69ed6.zip
Merge pull request #12496 from owncloud/check-xml-writer-for-7
Check for XMLWriter class
-rw-r--r--lib/private/util.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 08de46bbfea..2642a71684f 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -497,6 +497,13 @@ class OC_Util {
);
$webServerRestart = true;
}
+ if(!class_exists('XMLWriter')) {
+ $errors[] = array(
+ 'error'=> $l->t('PHP module %s not installed.', array('XMLWriter')),
+ 'hint'=>$moduleHint
+ );
+ $webServerRestart = true;
+ }
if(!class_exists('DOMDocument')) {
$errors[] = array(
'error'=> $l->t('PHP module %s not installed.', array('dom')),