From da6d09eb4fa5daa5a11ed2afcd70e486b8ef0bc3 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/Common.php b/system/Common.php index b0bbb4615164..91ea1d5e5c75 100644 --- a/system/Common.php +++ b/system/Common.php @@ -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); }