mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- Fix merge
This commit is contained in:
parent
dbf7d525a5
commit
35a68c276d
@ -100,6 +100,9 @@ xmlDocPtr soap_xmlParseFile(const char *filename TSRMLS_DC)
|
||||
ctxt->sax->warning = NULL;
|
||||
ctxt->sax->error = NULL;
|
||||
/*ctxt->sax->fatalError = NULL;*/
|
||||
#if LIBXML_VERSION >= 20703
|
||||
ctxt->options |= XML_PARSE_HUGE;
|
||||
#endif
|
||||
old = php_libxml_disable_entity_loader(1 TSRMLS_CC);
|
||||
xmlParseDocument(ctxt);
|
||||
php_libxml_disable_entity_loader(old TSRMLS_CC);
|
||||
|
Loading…
Reference in New Issue
Block a user