mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-12 11:31:00 +02:00
Don't do deprecated 'libxml_disable_entity_loader(true)' under PHP 8.
2d467abc46/UPGRADING (L886)
This commit is contained in:
parent
6bdf4a1a25
commit
936b91a7e6
@ -18,7 +18,10 @@
|
|||||||
$fetch_effective_url = false;
|
$fetch_effective_url = false;
|
||||||
$fetch_curl_used = false;
|
$fetch_curl_used = false;
|
||||||
|
|
||||||
|
if (version_compare(PHP_VERSION, '8.0.0', '<')) {
|
||||||
libxml_disable_entity_loader(true);
|
libxml_disable_entity_loader(true);
|
||||||
|
}
|
||||||
|
|
||||||
libxml_use_internal_errors(true);
|
libxml_use_internal_errors(true);
|
||||||
|
|
||||||
// separate test because this is included before sanity checks
|
// separate test because this is included before sanity checks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user