sql_pconnect(TYPO3_db_host,TYPO3_db_username,TYPO3_db_password)) die('No database connection ' . mysql_error()); $GLOBALS['TYPO3_DB']->sql_select_db(TYPO3_db); } $GLOBALS['TYPO3_LOADED_EXT'][$key]['siteRelPath']= $matches[2] . $key . '/'; // t3unit to loaded extensions $key = 't3unit'; if(is_dir(PATH_site . 'typo3conf/ext/' . $key . '/')) { $GLOBALS['TYPO3_LOADED_EXT']['' . $key . '']['siteRelPath'] = 'typo3conf/ext/' . $key . '/'; }elseif(is_dir(PATH_site . 'typo3/ext/' . $key . '/')) { $GLOBALS['TYPO3_LOADED_EXT']['' . $key . '']['siteRelPath'] = 'typo3/ext/' . $key . '/'; }elseif(is_file(PATH_site . 'typo3/sysext/' . $key . '/')) { $GLOBALS['TYPO3_LOADED_EXT']['' . $key . '']['siteRelPath'] = 'typo3/sysext/' . $key . '/'; }else{ exit(chr(10) . 'Unknown installation path for ' . $key . ''); } } if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/' . $key . '/tests/class.' . $class . '.php']) { include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/' . $key . '/tests/class.' . $class . '.php']); } ?>