HomePhorge

Use Filesystem::getMimeType() instead of `file`

Description

Use Filesystem::getMimeType() instead of file

Summary: The file binary doesn't exist everywhere, use the more flexible
wrapper introduce in D1609.

Test Plan: Uploaded a file via drag-and-drop, it got MIME'd correctly.

Reviewers: btrahan, davidreuss, Koolvin

Reviewed By: btrahan

CC: aran, epriestley

Maniphest Tasks: T869

Differential Revision: https://secure.phabricator.com/D1615

Details

Provenance
epriestleyAuthored on Feb 14 2012, 5:00 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP35c5852d3ff3: Add a safeguard against multiple patches with the same version
Branches
Unknown
Tags
Unknown

Event Timeline