parent
d7e1f883d8
commit
0de69e5a80
@ -811,6 +811,7 @@ class XmlDriver extends FileDriver
|
|||||||
protected function loadMappingFile($file)
|
protected function loadMappingFile($file)
|
||||||
{
|
{
|
||||||
$result = array();
|
$result = array();
|
||||||
|
// Note: we do not use `simplexml_load_file()` because of https://bugs.php.net/bug.php?id=62577
|
||||||
$xmlElement = simplexml_load_string(file_get_contents($file));
|
$xmlElement = simplexml_load_string(file_get_contents($file));
|
||||||
|
|
||||||
if (isset($xmlElement->entity)) {
|
if (isset($xmlElement->entity)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user