kohana/core — comment on commit 3bc535eb536e54451b722da9699d052c863ac1b4
File:  line 0
By ThePixelDeveloper:

This commit breaks the `send_file` functionality.

The second argument is the download name and usually doesn't exist on the file system. For example, I might serving the file:

/var/www/website.com/public/upload/files/0/000/004/0000004639.jpeg

with the download name as:

user-screenshot.jpeg

The failure comes from `File::mime`; It tries to load the file to find its mime type. [Line 45 of kohana/file.php](https://github.com/kohana/core/blob/3.2/master/classes/kohana/file.php#L45). This needs to be reverted.