Move upload_max_filesize warning to system check
Currently the CRM_Utils_Number::formatUnitSize()
function does a check for whether the upload_max_filesize
in PHP is smaller than the maximum upload size in your site settings.
- The message calls the php.ini setting "upload_max_size", which will lead people astray.
- This really should be a system check that you see well before you are about to upload something.
There's a similar check in there if post_max_size
is smaller than upload_max_filesize
. This should also move to the system check.