Project

General

Profile

Actions

Bug #23263

closed

page.shortcutIcon does not create favicon on root Level

Added by Lina Wolf almost 14 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-07-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If I set
page.shortcutIcon = favicon.ico
I would expect to receive a link to the favicon on root level like this one:
<link rel="shortcut icon" href="http://example.com/favicon.ico&quot; />
But there is no output.

This is due to the fact that the function getFileName from class.t3lib_tstemplate.php is beeing used.

Even though all modern Browsers can handle favIcons under a different path but the roort path there are some systems witch will first look at example.com/favicon.ico and only if they don't find it there under the path specified in the link tag.

An easy solution to this would be to ecpecially look for the string favicon.ico in class.tslib_pagegen.php line 491. A better solution would be to change getFileName from class.t3lib_tstemplate.php in a way that it can handle files on the root directory.

(issue imported from #M15226)


Files

15226.diff (3.24 KB) 15226.diff Administrator Admin, 2010-07-25 21:35
Actions

Also available in: Atom PDF