From ca31091b1272fe0ac9bedf584c1ce061804a2291 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 10 Feb 2004 09:00:24 +0000 Subject: [PATCH] Uploading in course restricted by site setting ... --- files/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/index.php b/files/index.php index ba0300cba7..7e86ae6721 100644 --- a/files/index.php +++ b/files/index.php @@ -135,7 +135,7 @@ 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"); -- 2.39.5