Project

General

Profile

Bug #23706 ยป 15959.patch

Administrator Admin, 2010-10-11 15:12

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (working copy)
$url = $this->stdWrap($conf['file'], $conf['file.']);
}
$mode = is_file(PATH_site . $url) ? 'file' : 'url';
$mode = is_file(PATH_site . urldecode($url)) ? 'file' : 'url';
if ($mode === 'file') {
// render FILE
$filename = $GLOBALS['TSFE']->tmpl->getFileName($url);
$filename = $GLOBALS['TSFE']->tmpl->getFileName(urldecode($url));
$fileinfo = t3lib_div::split_fileref($filename);
$conf['file'] = $filename;
} else {
    (1-1/1)