mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-33325-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
7824c9d820
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ $PAGE->set_activity_record($folder);
|
|||
|
||||
$data = new stdClass();
|
||||
$data->id = $cm->id;
|
||||
$options = array('mainfile'=>true, 'subdirs'=>1, 'maxbytes'=>$CFG->maxbytes, 'maxfiles'=>-1, 'accepted_types'=>'*');
|
||||
$options = array('subdirs'=>1, 'maxbytes'=>$CFG->maxbytes, 'maxfiles'=>-1, 'accepted_types'=>'*');
|
||||
file_prepare_standard_filemanager($data, 'files', $options, $context, 'mod_folder', 'content', 0);
|
||||
|
||||
$mform = new mod_folder_edit_form(null, array('data'=>$data, 'options'=>$options));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue