5 Commits

Author SHA1 Message Date
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