Permalink
Browse files

Uploading in course restricted by site setting ...

  • Loading branch information...
1 parent e11dc9b commit ca31091b1272fe0ac9bedf584c1ce061804a2291 moodler committed Feb 10, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 files/index.php
View
@@ -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");

0 comments on commit ca31091

Please sign in to comment.