Project

General

Profile

Actions

Task #46126

closed

Make mimetype-detection possible without finfo_file (pre-PHP-5.3, no pecl-fileinfo)

Added by Stefan Neufeind about 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2013-03-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

On 4.5 LTS we still allow PHP 5.2. And we don't demand pecl-fileinfo to be installed. So while mime_content_type() is deprecated, it has been there since PHP 4.3 and still works fine.

It seems to be only the shortcutIcon that uses the finfo_file()-functionality afaik.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #47969: Call to undefined function mime_content_type()Closed2013-05-06

Actions
Actions #1

Updated by Gerrit Code Review about 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/18814

Actions #2

Updated by Stefan Neufeind about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF