diff --git a/typo3/backend.php b/typo3/backend.php index 6609de2..6ff4bb0 100644 --- a/typo3/backend.php +++ b/typo3/backend.php @@ -319,7 +319,7 @@ class TYPO3backend { $cssFiles = t3lib_div::getFilesInDir($absoluteComponentPath . 'css/', 'css'); if (file_exists($absoluteComponentPath . 'css/loadorder.txt')) { //don't allow inclusion outside directory - $loadOrder = str_replace('../', '', t3lib_div::getURL($absoluteComponentPath . 'css/loadorder.txt')); + $loadOrder = str_replace('../', '', t3lib_div::getUrl($absoluteComponentPath . 'css/loadorder.txt')); $cssFilesOrdered = t3lib_div::trimExplode(LF, $loadOrder, TRUE); $cssFiles = array_merge($cssFilesOrdered, $cssFiles); } @@ -330,7 +330,7 @@ class TYPO3backend { $jsFiles = t3lib_div::getFilesInDir($absoluteComponentPath . 'javascript/', 'js'); if (file_exists($absoluteComponentPath . 'javascript/loadorder.txt')) { //don't allow inclusion outside directory - $loadOrder = str_replace('../', '', t3lib_div::getURL($absoluteComponentPath . 'javascript/loadorder.txt')); + $loadOrder = str_replace('../', '', t3lib_div::getUrl($absoluteComponentPath . 'javascript/loadorder.txt')); $jsFilesOrdered = t3lib_div::trimExplode(LF, $loadOrder, TRUE); $jsFiles = array_merge($jsFilesOrdered, $jsFiles); } diff --git a/typo3/template.php b/typo3/template.php index 4155373..dc53b32 100644 --- a/typo3/template.php +++ b/typo3/template.php @@ -1938,7 +1938,7 @@ $str.=$this->docBodyTagBegin(). } $htmlTemplate = ''; if ($filename !== '') { - $htmlTemplate = t3lib_div::getURL($filename); + $htmlTemplate = t3lib_div::getUrl($filename); } return $htmlTemplate; }