Re: Adding new MIME types for the CLI web server

From: Date: Sat, 23 Nov 2013 09:06:56 +0000
Subject: Re: Adding new MIME types for the CLI web server
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-70323@lists.php.net to get a copy of this message
hi, On Sat, Nov 23, 2013 at 5:39 AM, Christopher Jones <christopher.jones@oracle.com> wrote: > > > On 11/22/13 8:22 PM, Mike Willbanks wrote: >> >> Chris, >> >> What is wrong with a more common magic file which fileinfo utilizes? I >> understand the concept of adding common extensions but only as a fallback >> to distro behavior. >> >> Regards, >> >> Mike > > > There's nothing wrong that I know of. If you have time to implement it, > go ahead. There is nothing wrong but it may not as easy as it looks. This file must be available when fiinfo is not enabled (build time) or loaded. fileinfo ma be shared too (as far as I remember almost all distros provide it optionally and shared). That's something to keep in mind while implementing a patch. Cheers, -- Pierre @pierrejoye | http://www.libgd.org

« previous php.internals (#70323) next »