]> git.mjollnir.org Git - moodle.git/commitdiff
Uploading in course restricted by site setting ...
authormoodler <moodler>
Tue, 10 Feb 2004 09:00:24 +0000 (09:00 +0000)
committermoodler <moodler>
Tue, 10 Feb 2004 09:00:24 +0000 (09:00 +0000)
files/index.php

index ba0300cba737b698deee0d53b32a53b7b5b6cde0..7e86ae67218242d3d9247d11c728f8e253b122d6 100644 (file)
                 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");