Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 433 Bytes

2023-12-05-move-max-upload-filesize-logic.md

File metadata and controls

8 lines (8 loc) · 433 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 3 column 16
---
title: Move max upload filesize logic
issue: NEXT-32087
author_github: @Dominik28111
---

Core

  • Added method Shopware\Core\Framework\Util\MemorySizeCalculator::getMaxUploadSize() to calculate the maximum upload size.
  • Changed method Shopware\Core\Content\ImportExport\Service\SupportedFeaturesService::getUploadFileSizeLimit() to use the new method Shopware\Core\Framework\Util\MemorySizeCalculator::getMaxUploadSize().