Actions
Bug #36308
closedCardLayout, path of css file is wrongly calculated
Start date:
2012-04-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
end of backend.php:
if (is_array($moduleConfig['cssFiles'])) { foreach ($moduleConfig['cssFiles'] as $cssFileName => $cssFile) { $TYPO3backend->addCssFile($name, t3lib_div::getFileAbsFileName($cssFile)); } }
should be
if (is_array($moduleConfig['cssFiles'])) { foreach ($moduleConfig['cssFiles'] as $cssFileName => $cssFile) { $files = array(t3lib_div::getFileAbsFileName($cssFile)); $files = t3lib_div::removePrefixPathFromList($files, PATH_site); $TYPO3backend->addCssFile($name, t3lib_div::getFileAbsFileName($files[0])); } }
Otherwise the code tries to load the local file :(
related to 4.7 and master!
Funny, can't assign the issue to me :(
Files
Actions