[TASK] Remove deprecated usages of intInRange, intval_positive and int_from_ver
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_action / toolbarmenu / registerToolbarItem.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 if (TYPO3_MODE == 'BE') {
7 // first include the class file
8 include_once(t3lib_extMgm::extPath('sys_action')
9 . 'toolbarmenu/class.tx_sysaction_toolbarmenu.php');
10
11 // now register the class as toolbar item
12 $GLOBALS['TYPO3backend']->addToolbarItem(
13 'sys_action',
14 'tx_sysactionToolbarMenu'
15 );
16 }
17
18 ?>