Bug #23912 » 16216 _taskcenter.patch

Administrator Admin, 2010-11-02 11:35

View differences:

index.php (working copy)
288 288
						$absIconPath = t3lib_div::getFileAbsFilename($item['icon']);
289 289
							// If the file indeed exists, assemble relative path to it
290 290
						if (file_exists($absIconPath)) {
291
							$icon = $GLOBALS['BACK_PATH'] . '../' . str_replace(PATH_site, '', $absIconPath);
291
							$icon = $GLOBALS['BACK_PATH'] . '../' . (PATH_site == '/' ? $absIconPath : str_replace(PATH_site, '', $absIconPath));
292 292
							$icon = '<img src="' . $icon . '" title="' . $title . '" alt="' . $title . '" />';
293 293
						}
294 294
						if (@is_file($icon)) {
(1-1/6)