On Thu, Jul 24, 2008 at 1:25 PM, Thomas Bruederli <[EMAIL PROTECTED]> wrote: > On Thu, Jul 24, 2008 at 00:35, James MacLachlan <[EMAIL PROTECTED]> wrote: >> This patch resolves our issue which is identical Ticket #1485152, we >> are running PHP 5.1.6, RPM from CentOS 5. Hope it helps. > > Actually you're doing the same as in rc_mime_content_type() but only > with file_info(). Maybe rc_mime_content_type() should first try > file_info() and then mime_content_type(). The latter one is deprecated > anyway. > > I propose the following patch (untested):
Looks good (untested). :D Till _______________________________________________ List info: http://lists.roundcube.net/dev/
