Project

General

Profile

Bug #14927 » bug_1378.diff

Administrator Admin, 2007-04-26 18:08

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
$theSize = filesize($theFile);
$fI = t3lib_div::split_fileref($theFile);
if ($conf['icon']) {
// TODO the path should be configurable (see bug #1378)
$iconP = t3lib_extMgm::siteRelPath('cms').'tslib/media/fileicons/';
$icon = @is_file($iconP.$fI['fileext'].'.gif') ? $iconP.$fI['fileext'].'.gif' : $iconP.'default.gif';
// Checking for images: If image, then return link to thumbnail.
(1-1/2)