Merge pull request #6186 from ntd/pr5

BUG Use simplexml_load_string instead of simplexml_load_file
This commit is contained in:
Daniel Hensby 2016-11-07 12:16:32 +00:00 committed by GitHub
commit d5402d9dce

View File

@ -62,6 +62,9 @@ if(!empty($_SERVER['HTTP_X_ORIGINAL_URL'])) {
$_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL']; $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL'];
} }
// Enable the entity loader to be able to load XML in Zend_Locale_Data
libxml_disable_entity_loader(false);
/** /**
* Figure out the request URL * Figure out the request URL
*/ */