From: Stephen Bourget Date: Mon, 16 Jan 2017 15:54:33 +0000 (-0500) Subject: MDL-42266 Lib: Allow additional max upload file sizes X-Git-Tag: v3.3.0-beta~536^2 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=9820c67cf9cd320da5a289aa4e3d832b23681723;ds=sidebyside MDL-42266 Lib: Allow additional max upload file sizes --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 2eefa09fc2a..966112fa563 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -6589,7 +6589,9 @@ function get_max_upload_sizes($sitebytes = 0, $coursebytes = 0, $modulebytes = 0 $filesize = array(); $sizelist = array(10240, 51200, 102400, 512000, 1048576, 2097152, - 5242880, 10485760, 20971520, 52428800, 104857600); + 5242880, 10485760, 20971520, 52428800, 104857600, + 262144000, 524288000, 786432000, 1073741824, + 2147483648, 4294967296, 8589934592); // If custombytes is given and is valid then add it to the list. if (is_number($custombytes) and $custombytes > 0) {