Project

General

Profile

Bug #22282 » 13819.patch

Administrator Admin, 2010-03-15 17:13

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
$selIconFile = $this->backPath.$icon;
$selIconInfo = @getimagesize(PATH_typo3.$icon);
} else {
$selIconFile = t3lib_iconWorks::skinImg($this->backPath,'gfx/'.$icon,'',1);
$selIconFile = t3lib_iconWorks::skinImg($this->backPath, 'gfx/' . $icon, '', 1);
$iconPath = substr($selIconFile, strlen($this->backPath));
$selIconInfo = @getimagesize(PATH_typo3 . $iconPath);
$iconRealPath = t3lib_div::resolveBackPath(PATH_typo3 . $iconPath);
$selIconInfo = @getimagesize($iconRealPath);
}
return array($selIconFile,$selIconInfo);
}
(2-2/2)