Commit c344b15ff58009452609aeeb4160363b0a3dd18f
1 parent
1830b271
KTS-1594
"Support for Office 2007 Documents" Fixed. Committed By: Conrad Vermeulen Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8159 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
1 deletions
search2/indexing/extractors/OpenXmlTextExtractor.inc.php
| ... | ... | @@ -198,8 +198,9 @@ class OpenXmlTextExtractor extends ExternalDocumentExtractor |
| 198 | 198 | { |
| 199 | 199 | $filename = substr($filename,1); |
| 200 | 200 | } |
| 201 | + $filename = str_replace('\\','/',$filename); | |
| 201 | 202 | |
| 202 | - $cmd = $this->unzip . ' ' . str_replace( | |
| 203 | + $cmd = '"' .$this->unzip . '"' . ' ' . str_replace( | |
| 203 | 204 | array('{source}','{part}', '{target_dir}'), |
| 204 | 205 | array($this->sourcefile, $filename,$this->openxml_dir), $this->unzip_params); |
| 205 | 206 | ... | ... |