Skip to content

Commit

Permalink
Remove removed safe_mode ini Option
Browse files Browse the repository at this point in the history
`safe_mode` was removed in PHP 5.4
  • Loading branch information
jeromegamez committed Jun 7, 2021
1 parent d028ec4 commit a9863a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ 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 (DIRECTORY_SEPARATOR === '/')
{
return is_writable($file);
}
Expand Down

0 comments on commit a9863a7

Please sign in to comment.