8 Commits

Author SHA1 Message Date
b8f4958092 Fix #18442: Fix calls with array access to strings 2020-12-23 01:08:58 +03:00
5dac639f13 Added aliases to mime type generation command 2019-06-04 22:09:51 +03:00
aa0f09b3e2 Fixes #17306: Added ".mjs" extensions to mimetypes meta 2019-05-14 23:11:25 +03:00
1e00a050d7 Fixes #15322: Fixed PHP 7.2 compatibility of FileHelper::getExtensionsByMimeType() 2017-12-10 16:31:42 +03:00
5a8c3d537b Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.

* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
6397791513 Fixed whitespaces to match code style [skip ci] 2017-03-14 09:42:13 +03:00
a9aebfab7c minor message improvements 2014-07-29 22:01:28 +02:00
e5713c8e12 generated mimeType detection file from apache http mime.types file
MimeTypeController generates a map of file extensions to MIME types

It uses `mime.types` file from apache http located under
http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup

This file has been placed in the public domain for unlimited
redistribution,
so we can use it and ship it with Yii.

see also yiisoft/yii#2851 and yiisoft/yii#2857
2014-05-30 15:54:51 +02:00