Don't do deprecated 'libxml_disable_entity_loader(true)' under PHP 8.

2d467abc46/UPGRADING (L886)
master
wn 4 years ago
parent 6bdf4a1a25
commit 936b91a7e6

@ -18,7 +18,10 @@
$fetch_effective_url = false;
$fetch_curl_used = false;
libxml_disable_entity_loader(true);
if (version_compare(PHP_VERSION, '8.0.0', '<')) {
libxml_disable_entity_loader(true);
}
libxml_use_internal_errors(true);
// separate test because this is included before sanity checks

Loading…
Cancel
Save