Commit ede684badad1cec6f615e3109426cc10c5a9cfca
1 parent
a3faeb92
KTS-2912
"Document Indexing Diagnostics shows that there is a problem indixing a PDF file" Fixed. Commited By: Conrad Vermeulen Reviewed By: Jonathan Byrne git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8027 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
2 additions
and
2 deletions
search2/indexing/extractors/OpenXmlTextExtractor.inc.php
| ... | ... | @@ -43,7 +43,7 @@ class OpenXmlTextExtractor extends ExternalDocumentExtractor |
| 43 | 43 | $config = KTConfig::getSingleton(); |
| 44 | 44 | |
| 45 | 45 | $this->unzip = KTUtil::findCommand("import/unzip", 'unzip'); |
| 46 | - $this->unzip_params = $config->get('extractorParameters/unzip', '\'{source}\' \'{part}\' -d \'{target_dir}\''); | |
| 46 | + $this->unzip_params = $config->get('extractorParameters/unzip', '"{source}" "{part}" -d "{target_dir}"'); | |
| 47 | 47 | parent::__construct(); |
| 48 | 48 | } |
| 49 | 49 | ... | ... |
search2/indexing/extractors/PSExtractor.inc.php
| ... | ... | @@ -41,7 +41,7 @@ class PSExtractor extends ApplicationExtractor |
| 41 | 41 | public function __construct() |
| 42 | 42 | { |
| 43 | 43 | $config = KTConfig::getSingleton(); |
| 44 | - $params = $config->get('extractorParameters/pstotext', '\'{source}\' > \'{target}\''); | |
| 44 | + $params = $config->get('extractorParameters/pstotext', '"{source}" > "{target}"'); | |
| 45 | 45 | |
| 46 | 46 | parent::__construct('externalBinary','pstotext','pstotext',_kt('PostScript Text Extractor'), $params); |
| 47 | 47 | } | ... | ... |