-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is possible to set the memory limit in php to -1 which means unlimited memory. Unfortunately this was not accounted for in the maths to check if a file could be uploaded. To test you will need to change the value in your php.ini to `memory_limit = -1` and restart the web server. Then try to upload any file in the media manager and you will see an error message that the file is too large. Apply this PR and the upload will be successful. PR for #35853
- Loading branch information
1 parent
32f1809
commit 43ccd32
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters