Skip to content

Commit e36eed1

Browse files
committed
Merge remote-tracking branch 'ogresCE/MAGETWO-44919-hhvm-libxml-error' into PR_Branch
2 parents 6135bd6 + 5f17545 commit e36eed1

File tree

1 file changed

+4
-0
lines changed
  • lib/internal/Magento/Framework/Config

1 file changed

+4
-0
lines changed

lib/internal/Magento/Framework/Config/Dom.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,10 @@ public static function validateDomDocument(
276276
$schema,
277277
$errorFormat = self::ERROR_FORMAT_DEFAULT
278278
) {
279+
if (!function_exists('libxml_set_external_entity_loader')) {
280+
return [];
281+
}
282+
279283
if (!self::$urnResolver) {
280284
self::$urnResolver = new UrnResolver();
281285
}

0 commit comments

Comments
 (0)