Re: Fileinfo

See all posts Reply

Re: Fileinfo new!
by Paul De Schutter, 11 years, 4 months ago
On PHP 5.3.14 (MAMP PRO) calling finfo_open(FILEINFO_MIME, $path); kills the script with no output if $path = '/usr/share/file/magic'; (class.upload.php line 2771) is used. Setting $path = null (forcing a default fallback value) solves the problem.

https://github.com/paulds/class.upload/tree/development

Regards,
PaulReply
Re: Fileinfo new!
by colin, 11 years, 4 months ago
Thank you, I will fix it in the soon-to-be-released new version.Reply
Re: Fileinfo new!
by colin, 11 years, 3 months ago
I am preparing a new version that should fix this issue. You can find it here.Reply