Added Feature #12066: Added constants throughout the core for LF, CR, TAB (Thanks...
[Packages/TYPO3.CMS.git] / typo3 / sysext / opendocs / registerToolbarItem.php
1 <?php
2
3 if (!defined('TYPO3_MODE')) die ('Access denied.');
4
5 if (TYPO3_MODE == 'BE') {
6
7 // first include the class file
8 include_once(t3lib_extMgm::extPath('opendocs').'class.tx_opendocs.php');
9
10 // now register the class as toolbar item
11 $GLOBALS['TYPO3backend']->addToolbarItem('opendocs', 'tx_opendocs');
12 }
13
14 ?>