summaryrefslogtreecommitdiffstats
path: root/lib/private/app/infoparser.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/app/infoparser.php')
-rw-r--r--lib/private/app/infoparser.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/app/infoparser.php b/lib/private/app/infoparser.php
index 0bfbf6bd139..0603a7a7b7f 100644
--- a/lib/private/app/infoparser.php
+++ b/lib/private/app/infoparser.php
@@ -41,8 +41,9 @@ class InfoParser {
return null;
}
+ libxml_use_internal_errors(true);
$loadEntities = libxml_disable_entity_loader(false);
- $xml = @simplexml_load_file($file);
+ $xml = simplexml_load_file($file);
libxml_disable_entity_loader($loadEntities);
if ($xml == false) {
return null;