Skip to content

Commit

Permalink
refs #2910 Remove memory_limit for check max size upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Oct 23, 2024
1 parent 76fcc02 commit ba7e9da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Support/Init.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ba7e9da

Please sign in to comment.