Workaround buggy mime_content_type on php 5.2.0+etch10 (not tested on other version).
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 19 Mar 2008 16:13:38 +0000 (17:13 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 19 Mar 2008 16:13:38 +0000 (17:13 +0100)
commitfa3300aa65242318a4874992da0747bfb3a50c77
tree4b25bb889608d12a5490840dd31084ecb4c5d7f2
parent2dc1c17f203605779576a3b5896f8a66feebdd5d
Workaround buggy mime_content_type on php 5.2.0+etch10 (not tested on other version).

In this version, mime_content_type as a fallback to text/plain instead of
application/octet-stream, leading to invalid email attachments (Closes #802).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
ChangeLog
classes/plupload.php