Project

General

Profile

Bug #23912 » 16216_v2_trunk.patch

Administrator Admin, 2010-11-26 13:15

View differences:

typo3/sysext/taskcenter/task/index.php (working copy)
$absIconPath = t3lib_div::getFileAbsFilename($item['icon']);
// If the file indeed exists, assemble relative path to it
if (file_exists($absIconPath)) {
$icon = $GLOBALS['BACK_PATH'] . '../' . str_replace(PATH_site, '', $absIconPath);
$icon = $GLOBALS['BACK_PATH'] . '../' . (PATH_site == '/' ? $absIconPath : str_replace(PATH_site, '', $absIconPath));
$icon = '<img src="' . $icon . '" title="' . $title . '" alt="' . $title . '" />';
}
if (@is_file($icon)) {
(3-3/6)