Re: Adding new MIME types for the CLI web server
| From: | Stas Malyshev | Date: | Thu, 31 Oct 2013 23:12:36 +0000 |
| Subject: | Re: Adding new MIME types for the CLI web server | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69989@lists.php.net to get a copy of this message | ||
Hi!
> Final comments anyone, before I commit next week?
It looks strange that we have to hardcode so many mimetypes in the code,
and doesn't sound a scalable solution. Can't we make it use data from
fileinfo or some other customizeable table so we don't have to keep all
MIME types hardcoded in the code? Maybe some ability to use Apache's
mime.types file?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227