Bug #16066 ยป bug-3299.diff
typo3/mod/tools/em/class.em_index.php (working copy) | ||
---|---|---|
function unzip($file, $path) {
|
||
if(strlen($GLOBALS['TYPO3_CONF_VARS']['BE']['unzip_path'])) {
|
||
chdir($path);
|
||
$cmd = $GLOBALS['TYPO3_CONF_VARS']['BE']['unzip_path'].' -o '.$file;
|
||
$cmd = $GLOBALS['TYPO3_CONF_VARS']['BE']['unzip_path'].' -o '.escapeshellarg($file);
|
||
exec($cmd, $list, $ret);
|
||
return ($ret === 0);
|
||
} else {
|