[TYPO3-core] RFC #12013: tslib_pagegen fails to read mime type of the shortcut icon

Xavier Perseguers typo3 at perseguers.ch
Sat Oct 31 07:46:37 CET 2009


Hi,

I forgot to send reminders... :-)

Friendly REMINDER

Xavier

Xavier Perseguers wrote:
> Hi,
> 
> This is a SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12013
> 
> Branches: Trunk
> 
> Problem:
> After switching to PHP 5.3 I got a warning while showing my website:
> 
> finfo_file() [function.finfo-file]: File or path not found 
> http://mywebsite/fileadmin/.../favicon.ico [^]
> 
> In addition, I should point out that finfo_file is available with PHP 
> 5.3.0, meaning this part of the code is not compatible anyway with PHP < 
> 5.3 or with the use of PECL fileinfo >= 0.1.0.
> 
> Solution:
> Give finfo_file the physical path of the favorite icon, not the URL.
> 
> Regards
> 


-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-team-core mailing list