Page MenuHomePhabricator

D21701.diff
No OneTemporary

D21701.diff

diff --git a/support/startup/PhabricatorStartup.php b/support/startup/PhabricatorStartup.php
--- a/support/startup/PhabricatorStartup.php
+++ b/support/startup/PhabricatorStartup.php
@@ -392,8 +392,11 @@
ini_set('memory_limit', -1);
// If we have libxml, disable the incredibly dangerous entity loader.
+ // PHP 8 deprecates this function and disables this by default; remove once
+ // PHP 7 is no longer supported or a future version has removed the function
+ // entirely.
if (function_exists('libxml_disable_entity_loader')) {
- libxml_disable_entity_loader(true);
+ @libxml_disable_entity_loader(true);
}
// See T13060. If the locale for this process (the parent process) is not

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 16, 3:24 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7705267
Default Alt Text
D21701.diff (732 B)

Event Timeline