[BUGFIX] Ext Direct API lacks the possibility of adding access control
[Packages/TYPO3.CMS.git] / typo3 / sysext / em / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 if (TYPO3_MODE === 'BE') {
7 t3lib_extMgm::addModule('tools', 'em', '', t3lib_extMgm::extPath($_EXTKEY) . 'classes/');
8
9 // register Ext.Direct
10 t3lib_extMgm::registerExtDirectComponent(
11 'TYPO3.EM.ExtDirect',
12 t3lib_extMgm::extPath($_EXTKEY) . 'classes/connection/class.tx_em_connection_extdirectserver.php:tx_em_Connection_ExtDirectServer',
13 'tools_em',
14 'admin'
15 );
16
17 t3lib_extMgm::registerExtDirectComponent(
18 'TYPO3.EMSOAP.ExtDirect',
19 t3lib_extMgm::extPath($_EXTKEY) . 'classes/connection/class.tx_em_connection_extdirectsoap.php:tx_em_Connection_ExtDirectSoap',
20 'tools_em',
21 'admin'
22 );
23
24 // register reports check
25 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['Extension Manager'][] = 'tx_em_reports_ExtensionStatus';
26
27 $icons = array(
28 'extension-required' => t3lib_extMgm::extRelPath('em') . 'res/icons/extension-required.png'
29 );
30 t3lib_SpriteManager::addSingleIcons($icons, 'em');
31 }
32 ?>