[TYPO3-team-templavoila] RFC: #11676 Bug: With PHP 5.3 clickmenu item "TemplaVoila" in File > List module isn't displayed

Tolleiv.Nietsch info at tolleiv.de
Sun Aug 9 15:30:52 CEST 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11676

Branches:
trunk

Problem:
TemplaVoila uses PHP's finfo_open() if it exists.Currently it checks 
like this: @finfo_file($fi, $table) == 'text/html'

But finfo_file() might return: text/html; charset=iso-8859-1

Solution:
The provided patch fixes it with a simple strpos-lookup.

Additional informations:
Pretty much a no-brainer - but I'm not sure if the old check happend 
with some intention...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11676_templavoila_v2.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-templavoila/attachments/20090809/e32b780d/attachment.txt 


More information about the TYPO3-team-templavoila mailing list