diff --git a/typo3/sysext/cms/tslib/class.tslib_fe.php b/typo3/sysext/cms/tslib/class.tslib_fe.php index d975d4e..c98f0cb 100644 --- a/typo3/sysext/cms/tslib/class.tslib_fe.php +++ b/typo3/sysext/cms/tslib/class.tslib_fe.php @@ -1483,7 +1483,7 @@ } elseif (t3lib_div::isFirstPartOfStr($code,'READFILE:')) { $readFile = t3lib_div::getFileAbsFileName(trim(substr($code,9))); if (@is_file($readFile)) { - $fileContent = t3lib_div::getUrl($readFile); + $fileContent = t3lib_div::getURL($readFile); $fileContent = str_replace('###CURRENT_URL###', t3lib_div::getIndpEnv('REQUEST_URI'), $fileContent); $fileContent = str_replace('###REASON###', htmlspecialchars($reason), $fileContent); echo $fileContent; @@ -1674,7 +1674,7 @@ SetCookie('ADMCMD_prev', '', 0, t3lib_div::getIndpEnv('TYPO3_SITE_PATH')); if ($this->TYPO3_CONF_VARS['FE']['workspacePreviewLogoutTemplate']) { if (@is_file(PATH_site.$this->TYPO3_CONF_VARS['FE']['workspacePreviewLogoutTemplate'])) { - $message = t3lib_div::getUrl(PATH_site.$this->TYPO3_CONF_VARS['FE']['workspacePreviewLogoutTemplate']); + $message = t3lib_div::getURL(PATH_site.$this->TYPO3_CONF_VARS['FE']['workspacePreviewLogoutTemplate']); } else { $message = 'ERROR!
Template File "'.$this->TYPO3_CONF_VARS['FE']['workspacePreviewLogoutTemplate'].'" configured with $TYPO3_CONF_VARS["FE"]["workspacePreviewLogoutTemplate"] not found. Please contact webmaster about this problem.'; } @@ -2907,7 +2907,7 @@ $cacheFileName = PATH_site.'typo3temp/cache_pages/'.$row['hash']{0}.$row['hash']{1}.'/'.$row['hash'].'.html'; switch((string)$type) { case 'get': - $row['HTML'] = @is_file($cacheFileName) ? t3lib_div::getUrl($cacheFileName) : ''; + $row['HTML'] = @is_file($cacheFileName) ? t3lib_div::getURL($cacheFileName) : ''; break; case 'set': t3lib_div::writeFileToTypo3tempDir($cacheFileName, $row['HTML']);