Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plugins bot
moodle-plugins-snapshots
Commits
2156bb45
Commit
2156bb45
authored
Jan 18, 2017
by
Andrew Nicols
Browse files
Merge branch 'MDL-42266_m33v2' of
https://github.com/sbourget/moodle
parents
d7cee87d
9820c67c
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/moodlelib.php
View file @
2156bb45
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment