[TYPO3-core] FYI Cleanup: Updated ext_emconf.php files in system extensions
Steffen Kamper
info at sk-typo3.de
Mon Jan 24 15:42:26 CET 2011
Hi,
it's no problem, we will clean it up before each release, and it's not
critical having different hash in tagged version.
Just to show interested how we do it now:
if (t3lib_div::_POST('sysextcleanemconf')) {
$helper = t3lib_div::makeInstance('tx_em_Connection_ExtDirectServer');
/** @var $list tx_em_Extensions_List */
$list = t3lib_div::makeInstance('tx_em_Extensions_List');
$extList = array();
$path = PATH_typo3 . 'sysext/';
$list->getFlatInstExtList($path, $extList, 'S');
foreach ($extList as $ext) {
$key = $ext['extkey'];
$res = $helper->cleanEmConf($key);
$content .= '<p>Cleaning extensions "' . $key . '": done </p>';
}
$content .= '<p>done</p>';
}
vg Steffen
More information about the TYPO3-team-core
mailing list