Skip to content

Commit

Permalink
Merge pull request #4795 from jeromegamez/deprecated-safe-mode
Browse files Browse the repository at this point in the history
Remove removed `safe_mode` ini Option
  • Loading branch information
paulbalandan committed Jun 7, 2021
2 parents 9bf2e85 + da6d09e commit 3d1603e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,8 @@ function is_cli(): bool
*/
function is_really_writable(string $file): bool
{
// If we're on a Unix server with safe_mode off we call is_writable
if (DIRECTORY_SEPARATOR === '/' || ! ini_get('safe_mode'))
// If we're on a Unix server we call is_writable
if (DIRECTORY_SEPARATOR === '/')
{
return is_writable($file);
}
Expand Down

0 comments on commit 3d1603e

Please sign in to comment.