ensure libxml entity loading is enabled

This commit is contained in:
Kevin Bond 2017-01-25 16:14:10 -05:00
parent 6f4ddb1569
commit d8dcdc506d
No known key found for this signature in database
GPG Key ID: C5242A715A168E24

View File

@ -16,6 +16,12 @@ class XMLReader extends \XMLReader
const ZIP_WRAPPER = 'zip://';
public function __construct()
{
// ensure libxml entity loading is enabled
libxml_disable_entity_loader(false);
}
/**
* Opens the XML Reader to read a file located inside a ZIP file.
*