Actions
Bug #40191
closedtsconfig_help is using old em
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-08-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
tsconfig_help is using old em
Updated by Wouter Wolters over 11 years ago
public function unzip($file, $path) {
// We use the unzip class of the Extension Manager here
// TODO: move unzip class to core
if (!\TYPO3\CMS\Core\Extension\ExtensionManager::isLoaded('em')) {
// Em is not loaded, so include the unzip class
\TYPO3\CMS\Core\Utility\GeneralUtility::requireOnce(PATH_typo3 . 'sysext/em/classes/tools/class.tx_em_tools_unzip.php');
}
$unzip = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('tx_em_Tools_Unzip', $file);
$ret = $unzip->extract(array('add_path' => $path));
return is_array($ret);
}
Updated by Chris topher almost 11 years ago
- Status changed from New to Closed
Closed; tsconfig_help has been removed with #47931.
Actions