Task #24551 » lowerCamelCase-getUrl-typo3.diff
typo3/backend.php | ||
---|---|---|
$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);
|
||
}
|
||
... | ... | |
$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);
|
||
}
|
typo3/template.php | ||
---|---|---|
}
|
||
$htmlTemplate = '';
|
||
if ($filename !== '') {
|
||
$htmlTemplate = t3lib_div::getURL($filename);
|
||
$htmlTemplate = t3lib_div::getUrl($filename);
|
||
}
|
||
return $htmlTemplate;
|
||
}
|
- « Previous
- 1
- …
- 19
- 20
- 21
- Next »