Index: includes/file.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/file.inc,v retrieving revision 1.104 diff -u -p -r1.104 file.inc --- includes/file.inc 25 Jul 2007 17:41:27 -0000 1.104 +++ includes/file.inc 26 Aug 2007 01:15:47 -0000 @@ -966,8 +966,7 @@ function file_upload_max_size() { if ($max_size < 0) { $upload_max = parse_size(ini_get('upload_max_filesize')); - // sanity check- a single upload should not be more than 50% the size limit of the total post - $post_max = parse_size(ini_get('post_max_size')) / 2; + $post_max = parse_size(ini_get('post_max_size')); $max_size = ($upload_max < $post_max) ? $upload_max : $post_max; } return $max_size;