@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Guard call to "get_magic_quotes_gpc()" with "@" to silence PHP 7.4+ warning

Summary:
Fixes T13471. Recent versions of PHP raise a warning when this function is called.

We're only calling it so we can instantly fatal if it's enabled, so use "@" to silence the warning.

Test Plan: Loaded site; see also T13471 for a user reporting that this fix is effective.

Maniphest Tasks: T13471

Differential Revision: https://secure.phabricator.com/D20942

+1 -1
+1 -1
support/startup/PhabricatorStartup.php
··· 523 523 "'{$required_version}'."); 524 524 } 525 525 526 - if (get_magic_quotes_gpc()) { 526 + if (@get_magic_quotes_gpc()) { 527 527 self::didFatal( 528 528 "Your server is configured with PHP 'magic_quotes_gpc' enabled. This ". 529 529 "feature is 'highly discouraged' by PHP's developers and you must ".