Skip to content

Commit 7fc78f0

Browse files
author
Markus Timtner
committed
added TYPO3 v13 compatibility
1 parent 334b195 commit 7fc78f0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ext_localconf.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
$versionInformation = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Information\Typo3Version::class);
66
if ($versionInformation->getMajorVersion() > 12) {
77

8+
} else {
9+
810
// Hook into the page module
911
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeaderHook']['mt_backend'] =
1012
\MarkusTimtner\MtBackend\Hooks\PageHook::class . '->render';
11-
} else {
1213

13-
$GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets']['mt_backend'] = 'EXT:mt_backend/Resources/Public/Css/MyBeTouchup.css';
14+
}
1415

15-
}
16+
$GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets']['mt_backend'] = 'EXT:mt_backend/Resources/Public/Css/MyBeTouchup.css';

0 commit comments

Comments
 (0)