diff --git a/search2/indexing/extractors/OpenXmlTextExtractor.inc.php b/search2/indexing/extractors/OpenXmlTextExtractor.inc.php index 609889d..773d3be 100644 --- a/search2/indexing/extractors/OpenXmlTextExtractor.inc.php +++ b/search2/indexing/extractors/OpenXmlTextExtractor.inc.php @@ -219,6 +219,9 @@ class OpenXmlTextExtractor extends ExternalDocumentExtractor } $filename = str_replace('\\','/',$filename); + /* + // Removing the unzip command as the whole document gets unzipped at the start + $cmd = '"' .$this->unzip . '"' . ' ' . str_replace( array('{source}','{part}', '{target_dir}'), array($this->sourcefile, $filename,$this->openxml_dir), $this->unzip_params); @@ -228,6 +231,7 @@ class OpenXmlTextExtractor extends ExternalDocumentExtractor $this->output = _kt('Failed to execute command: ') . $cmd; return false; } + */ $filename = $this->openxml_dir . "/$filename"; if (!file_exists($filename))