[TYPO3-core] RFC 8225: Code cleanup: Improvment / Bugfix: backend.php - Hook: $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems']

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed May 14 10:38:56 CEST 2008


Frank Nägler wrote:
> it's ok, I have do it now like Steffen said:
> $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][]
> 
> = t3lib_extMgm::extPath($_EXTKEY).'registerToolbarItem.php';

Better:

t3lib_extMgm::extPath($_EXTKEY, 'registerToolbarItem.php');

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-team-core mailing list