Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Uploading in course restricted by site setting ...

  • Loading branch information...
commit ca31091b1272fe0ac9bedf584c1ce061804a2291 1 parent e11dc9b
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  files/index.php
View
2  files/index.php
@@ -135,7 +135,7 @@ function html_header($course, $wdir, $formfield=""){
displaydir($wdir);
} else {
- $upload_max_filesize = get_max_upload_file_size();
+ $upload_max_filesize = get_max_upload_file_size($CFG->maxbytes);
$filesize = display_size($upload_max_filesize);
$struploadafile = get_string("uploadafile");
Please sign in to comment.
Something went wrong with that request. Please try again.