Update v_xml_cdr_import.php

This commit is contained in:
FusionPBX
2019-12-23 11:23:53 -07:00
committed by GitHub
parent 2185780bef
commit 3ef8a0ae12

View File

@@ -564,7 +564,11 @@
//parse the xml to get the call detail record info
try {
$conf_xml = simplexml_load_string($conf_xml_string);
//disable xml entities
libxml_disable_entity_loader(true);
//load the string into an xml object
$conf_xml = simplexml_load_string($conf_xml_string, 'SimpleXMLElement', LIBXML_NOCDATA);
}
catch(Exception $e) {
echo $e->getMessage();