MDL-42616 filelib: Use config value for custom MIME types (1/2)

Uses a new optional config variable to define custom MIME types
in JSON format. Includes new API for accessing and modifying
this data.
This commit is contained in:
sam marshall
2014-12-19 14:48:59 +00:00
parent 8f06fffbe1
commit 91fed57a4e
7 changed files with 1017 additions and 201 deletions
+2
View File
@@ -205,6 +205,8 @@ class phpunit_util extends testing_util {
core_text::reset_caches();
get_message_processors(false, true);
filter_manager::reset_caches();
core_filetypes::reset_caches();
// Reset internal users.
core_user::reset_internal_users();