Bug #23912 » 16216_v2_trunk.patch
typo3/sysext/taskcenter/task/index.php (working copy) | ||
---|---|---|
290 | 290 |
$absIconPath = t3lib_div::getFileAbsFilename($item['icon']); |
291 | 291 |
// If the file indeed exists, assemble relative path to it |
292 | 292 |
if (file_exists($absIconPath)) { |
293 |
$icon = $GLOBALS['BACK_PATH'] . '../' . str_replace(PATH_site, '', $absIconPath);
|
|
293 |
$icon = $GLOBALS['BACK_PATH'] . '../' . (PATH_site == '/' ? $absIconPath : str_replace(PATH_site, '', $absIconPath));
|
|
294 | 294 |
$icon = '<img src="' . $icon . '" title="' . $title . '" alt="' . $title . '" />'; |
295 | 295 |
} |
296 | 296 |
if (@is_file($icon)) { |