Project

General

Profile

Bug #23912 » 16216 _taskcenter.patch

Administrator Admin, 2010-11-02 11:35

View differences:

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)) {
(1-1/6)