Commit c6903305 authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

profileicons: define MAX_FILE_SIZE for uploaded icons


Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent ccac02a3
......@@ -66,7 +66,8 @@ $uploadform = pieform(array(
'file' => array(
'type' => 'file',
'title' => get_string('profileicon', 'artefact.file'),
'rules' => array('required' => true)
'rules' => array('required' => true),
'maxfilesize' => get_max_upload_size(false),
),
'title' => array(
'type' => 'text',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment