Bug #23912 » 16216_v3.patch

Administrator Admin, 2010-12-09 11:10

View differences:

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