Project

General

Profile

Bug #16066 ยป bug-3299.diff

Administrator Admin, 2006-07-12 18:09

View differences:

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 {
    (1-1/1)