Skip to content

Commit

Permalink
Remove php memory limit from max upload size calculation (joomla#16741)
Browse files Browse the repository at this point in the history
  • Loading branch information
SniperSister authored and zero-24 committed Jun 17, 2017
1 parent bdef149 commit 2cc0efa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libraries/joomla/utilities/utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public static function getMaxUploadSize($custom = null)
* Read INI settings which affects upload size limits
* and Convert each into number of bytes so that we can compare
*/
$sizes[] = JHtml::_('number.bytes', ini_get('memory_limit'), '');
$sizes[] = JHtml::_('number.bytes', ini_get('post_max_size'), '');
$sizes[] = JHtml::_('number.bytes', ini_get('upload_max_filesize'), '');

Expand Down

0 comments on commit 2cc0efa

Please sign in to comment.