Issue Bug Closed

#36308CardLayout, path of css file is wrongly calculated

Kay Strobach 04/18/12, 22:31 updated 10/23/17, 22:20

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 :(

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.