Bug #23912 » 16216_v2_44.patch
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)) {
|