File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ static xmlDocPtr soap_xmlParse_ex(xmlParserCtxtPtr ctxt)
9090 ctxt -> sax -> warning = NULL ;
9191 ctxt -> sax -> error = NULL ;
9292 /*ctxt->sax->fatalError = NULL;*/
93- bool old = php_libxml_disable_entity_loader (1 );
93+ bool old = php_libxml_disable_entity_loader (true );
9494 xmlParseDocument (ctxt );
9595 php_libxml_disable_entity_loader (old );
9696 if (ctxt -> wellFormed ) {
@@ -113,7 +113,7 @@ static xmlDocPtr soap_xmlParse_ex(xmlParserCtxtPtr ctxt)
113113xmlDocPtr soap_xmlParseFile (const char * filename )
114114{
115115 bool old_allow_url_fopen = PG (allow_url_fopen );
116- PG (allow_url_fopen ) = 1 ;
116+ PG (allow_url_fopen ) = true ;
117117 xmlParserCtxtPtr ctxt = xmlCreateFileParserCtxt (filename );
118118 PG (allow_url_fopen ) = old_allow_url_fopen ;
119119
You can’t perform that action at this time.
0 commit comments