joomla/joomla-cms — pull request #4348 by Kubik-Rubik (2014-09-25 14:58:33+00:00)
Title: Improvement - Get the maximum upload file size

Reference and discussion: Template upload size #4337

Call it with JFilesystemHelper::fileUploadMaxSize(); from anywhere you need to get the maximum upload file size!

**How to test?**

Change the 'post_max_size' and 'upload_max_filesize' and check whether you get the correct maximum size with the call mentioned above!