File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 44
55$ versionInformation = \TYPO3 \CMS \Core \Utility \GeneralUtility::makeInstance (\TYPO3 \CMS \Core \Information \Typo3Version::class);
66if ($ versionInformation ->getMajorVersion () > 12 ) {
7-
87 $ GLOBALS ['TYPO3_CONF_VARS ' ]['BE ' ]['stylesheets ' ]['mt_backend ' ] = 'EXT:mt_backend/Resources/Public/Css/MyBeTouchup.css ' ;
98
109} else {
Original file line number Diff line number Diff line change 11<?php
22defined ('TYPO3 ' ) || die ('Access denied. ' );
33
4- // Custom CSS include
5- $ GLOBALS ['TBE_STYLES ' ]['skins ' ]['mt_backend ' ] = [
6- 'name ' => 'mt_backend ' ,
7- 'stylesheetDirectories ' => [
8- 'css ' => 'EXT:mt_backend/Resources/Public/Css/ '
9- ]
10- ];
4+ $ versionInformation = \TYPO3 \CMS \Core \Utility \GeneralUtility::makeInstance (\TYPO3 \CMS \Core \Information \Typo3Version::class);
5+ if ($ versionInformation ->getMajorVersion () < 13 ) {
6+ // Custom CSS include
7+ $ GLOBALS ['TBE_STYLES ' ]['skins ' ]['mt_backend ' ] = [
8+ 'name ' => 'mt_backend ' ,
9+ 'stylesheetDirectories ' => [
10+ 'css ' => 'EXT:mt_backend/Resources/Public/Css/ '
11+ ]
12+ ];
13+ }
You can’t perform that action at this time.
0 commit comments