Here's a bit of shameless self-promotion: http://dsi.vozibrale.com/articles/view/mediaview-is-a-bleeding-bastard
http://dsi.vozibrale.com/articles/view/downloadview-a-mediaview-replacement-for-cakephp Hope that helps! On Nov 24, 3:55 pm, sotin <[EMAIL PROTECTED]> wrote: > I originally posted this question in the CakePHP documentation but > have moved it here for further discussion.... > > 1 - Modify acceptable mime types? > > What is the best way to add an mime type to the 'acceptable' mime > types list? I haven't been able to find anything aside from editing > cake\libs\view\media.php, which I do not want to do for obvious > reasons. Extending the MediaView class also seems a little excessive > just to add one mime type. > > I am trying to add xlsx download support (application/ > vnd.openxmlformats) > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
