Skip to content

Commit d7b5023

Browse files
Merge pull request #43 from catalyst/change-filetypes
Change accepted file types for slides to list types directly.
2 parents 29901ec + 94e3122 commit d7b5023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function block_carousel_file_options() {
9191
global $CFG;
9292

9393
return array(
94-
'accepted_types' => array('image', 'web_video'),
94+
'accepted_types' => ['gif', 'jpe', 'jpeg', 'jpg', 'png', 'web_video'],
9595
'maxfiles' => 1,
9696
'maxbytes' => $CFG->maxbytes,
9797
'subdirs' => 0

0 commit comments

Comments
 (0)