From ba7e9da28d7e0a43eb373c4186ad00012989d25d Mon Sep 17 00:00:00 2001 From: Alexandr Chernyaev Date: Wed, 23 Oct 2024 18:43:26 +0300 Subject: [PATCH] refs #2910 Remove `memory_limit` for check max size upload --- src/Support/Init.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Support/Init.php b/src/Support/Init.php index f037e03ee..49836b218 100644 --- a/src/Support/Init.php +++ b/src/Support/Init.php @@ -68,7 +68,6 @@ public static function maxFileUpload(?string $format = null): int $ini = [ 'upload_max_filesize', 'post_max_size', - 'memory_limit', ]; $ini = array_map(fn ($item) => self::toBytes(ini_get($item)), $ini);