[TASK] Remove dummy require files from ext:adodb
[Packages/TYPO3.CMS.git] / typo3 / sysext / adodb / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 // Register as a data source application if the extension datasources is loaded:
7 if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('datasources')) {
8 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('datasources') . 'class.tx_datasources_main.php';
9 $dataSourcesMainObj = \TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj('EXT:datasources/class.tx_datasources_main.php:&tx_datasources_main');
10 $dataSourcesMainObj->registerApplication('ADOdb', 'adodb');
11 }
12 ?>