MDL-42616 filelib: Use config value for custom MIME types (1/2)
authorsam marshall <s.marshall@open.ac.uk>
Mon, 15 Dec 2014 10:41:47 +0000 (10:41 +0000)
committersam marshall <s.marshall@open.ac.uk>
Fri, 19 Dec 2014 14:48:59 +0000 (14:48 +0000)
commit91fed57a4e4005589425d701c6a888130763ca8a
tree7b1cf6db87070bc62ec0281cd323315689ac3d77
parent8f06fffbe117b91bc0c36c78a25210c994fb0a20
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.
config-dist.php
lib/classes/filetypes.php [new file with mode: 0644]
lib/filelib.php
lib/phpunit/classes/util.php
lib/tests/filelib_test.php
lib/tests/filetypes_test.php [new file with mode: 0644]
lib/upgrade.txt