Bug #73479
closed
[BUGFIX] Correctly add backend.css after extRelPath change
Added by Patrick Schriner about 8 years ago.
Updated over 5 years ago.
Category:
Backend User Interface
Description
Adding StyleSheetDirectories is broken for some environments.
DocumentTemplate tries to add the CSS file "/typo3/sysext/t3skin/Resources/Public/backend.css" instead of "sysext/t3skin/Resources/Public/backend.css"
Files
- Status changed from New to Under Review
This is what I'm getting in addStyleSheetDirectory()
(just before addCssFile):
array(5 items)
func_get_args() => array(1 item)
0 => "/var/www/html/typo3_master/typo3/sysext/t3skin/Resources/Public/Css/" (68 chars)
$path => "/var/www/html/typo3_master/typo3/sysext/t3skin/Resources/Public/Css/" (68 chars)
$cssFile => "backend.css" (11 chars)
PathUtility::getRelativePathTo($path) . $cssFile => "sysext/t3skin/Resources/Public/Css/backend.css" (46 chars)
PathUtility::getAbsoluteWebPath($path . $cssFile) => "/typo3/sysext/t3skin/Resources/Public/Css/backend.css" (53 chars)
my TYPO3 is set up as:
/var/www/html/typo3_master/
typo3 -> typo3_src/typo3
typo3_src -> /var/www/typo3/TYPO3.MASTER/typo3
where /var/www/TYPO3.MASTER is a local TYPO3 master git
I'm not running composer mode.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF