MDL-78632 filetypes: Introduce yaml file type

This commit is contained in:
Marcus Boon
2023-07-28 15:26:34 +10:00
parent a1d5d1b2f7
commit c22f82d7d5
2 changed files with 25 additions and 0 deletions
+3
View File
@@ -313,6 +313,9 @@ abstract class core_filetypes {
'xml' => array('type' => 'application/xml', 'icon' => 'markup'),
'xsl' => array('type' => 'text/xml', 'icon' => 'markup'),
'yaml' => array('type' => 'application/yaml', 'icon' => 'markup'),
'yml' => array('type' => 'application/yaml', 'icon' => 'markup'),
'zip' => array('type' => 'application/zip', 'icon' => 'archive', 'groups' => array('archive'), 'string' => 'archive')
);
}