From a9863a7c48c7ec8209f72ee2cb5b5886c2d075f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Mon, 7 Jun 2021 13:50:42 +0200 Subject: [PATCH] Remove removed `safe_mode` ini Option `safe_mode` was removed in PHP 5.4 --- system/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Common.php b/system/Common.php index b0bbb4615164..672673eac50b 100644 --- a/system/Common.php +++ b/system/Common.php @@ -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); }