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