Project

General

Profile

Bug #23912 » 16216_v3_44.patch

Administrator Admin, 2010-12-09 11:10

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'] . '../' . substr($absIconPath, strlen(PATH_site));
$icon = '<img src="' . $icon . '" title="' . $title . '" alt="' . $title . '" />';
}
if (@is_file($icon)) {
(5-5/6)