Hello,
I cannot seem to find a way to limit what files students are able to upload in the administration settings, is this possible? From looking at the code of repository/upload/lib.php (in the upload function) I can see a routine which appears to compare the uploaded file's mimetype to what I presume is a list of accepted types. However I can't find a way to edit this list in the options. I'm also aware that mimetype spoofing is trivial so this may not be the answer.
So is there a way to do this, or is this code a stub? Or perhaps I've got it completely wrong and this code serves another purpose :P
Thanks in advance.
(I'm running Moodle 2.1)