Documentation TYPO3 par Ameos |
00001 <?php 00002 if (!defined ('TYPO3_MODE')) die ('Access denied.'); 00003 00004 require_once (t3lib_extMgm::extPath('adodb').'class.tx_adodb_tceforms.php'); 00005 00006 // Register as a data source application if the extension datasources is loaded: 00007 if (t3lib_extMgm::isLoaded ('datasources')) { 00008 require_once (t3lib_extMgm::extPath('datasources').'class.tx_datasources_main.php'); 00009 $dataSourcesMainObj = &t3lib_div::getUserObj('EXT:datasources/class.tx_datasources_main.php:&tx_datasources_main'); 00010 $dataSourcesMainObj->registerApplication ('ADOdb', 'adodb'); 00011 } 00012 00013 ?>