From d714aeb4f5382bbe8e685a85e7ead8d75a219ee4 Mon Sep 17 00:00:00 2001 From: Jake Dallimore Date: Thu, 24 Nov 2016 14:41:38 +0800 Subject: [PATCH] MDL-57126 core: add 'scss' to list of core filetypes. This allows filetype restrictions to work when uploading additional preset files on the Boost admin settings page. --- lib/classes/filetypes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/classes/filetypes.php b/lib/classes/filetypes.php index e638d9e53db..f1d9cf8d4a8 100644 --- a/lib/classes/filetypes.php +++ b/lib/classes/filetypes.php @@ -226,6 +226,7 @@ abstract class core_filetypes { 'rtx' => array('type' => 'text/richtext', 'icon' => 'text'), 'rv' => array('type' => 'audio/x-pn-realaudio-plugin', 'icon' => 'audio', 'groups' => array('video'), 'string' => 'video'), + 'scss' => array('type' => 'text/x-scss', 'icon' => 'text', 'groups' => array('web_file')), 'sh' => array('type' => 'application/x-sh', 'icon' => 'sourcecode'), 'sit' => array('type' => 'application/x-stuffit', 'icon' => 'archive', 'groups' => array('archive'), 'string' => 'archive'),