Page MenuHomePhorge

D25947.1744174097.diff
No OneTemporary

D25947.1744174097.diff

diff --git a/src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php b/src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php
--- a/src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php
+++ b/src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php
@@ -36,25 +36,6 @@
return;
}
- // TODO: This can be removed entirely because the minimum PHP version is
- // now PHP 5.5, which does not have safe mode.
-
- $safe_mode = ini_get('safe_mode');
- if ($safe_mode) {
- $message = pht(
- "You have '%s' enabled in your PHP configuration, but this software ".
- "will not run in safe mode. Safe mode has been deprecated in PHP 5.3 ".
- "and removed in PHP 5.4.\n\nDisable safe mode to continue.",
- 'safe_mode');
-
- $this->newIssue('php.safe_mode')
- ->setIsFatal(true)
- ->setName(pht('Disable PHP %s', 'safe_mode'))
- ->setMessage($message)
- ->addPHPConfig('safe_mode');
- return;
- }
-
// Check for `disable_functions` or `disable_classes`. Although it's
// possible to disable a bunch of functions (say, `array_change_key_case()`)
// and classes and still have Phabricator work fine, it's unreasonably

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 9, 04:48 (1 w, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1276281
Default Alt Text
D25947.1744174097.diff (1 KB)

Event Timeline