Bug #40191

tsconfig_help is using old em

Added by Wouter Wolters almost 3 years ago. Updated about 2 years ago.

Status:Closed Start date:2012-08-25
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:6.0 Is Regression:
PHP Version: Sprint Focus:
Complexity:

Description

tsconfig_help is using old em


Related issues

duplicated by Core - Bug #40198: EM: tsconfighelp uses unzip from within "old" EM Closed 2012-08-25
duplicated by Core - Bug #41249: tsconfig_help currently broken because of em Closed 2012-09-22
duplicated by Core - Bug #43962: TypoScriptConfigHelpModuleController check for obsolete s... Closed 2012-12-13

History

#1 Updated by Wouter Wolters almost 3 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);
}

#2 Updated by Chris topher about 2 years ago

  • Status changed from New to Closed

Closed; tsconfig_help has been removed with #47931.

Also available in: Atom PDF