Update gitignore

Signed-off-by: Paul De Schutter <paul@volta.be>
Change Fileinfo PECL default magic path

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.

Signed-off-by: Paul De Schutter <paul@volta.be>