From fe458ae9304946d0d7d1ba45e648bdb65b900615 Mon Sep 17 00:00:00 2001 From: conradverm Date: Fri, 19 Oct 2007 13:41:37 +0000 Subject: [PATCH] KTS-673 "The search algorithm needs some work" Updated. pstotext only available in windows --- search2/indexing/extractors/PSExtractor.inc.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+), 0 deletions(-) diff --git a/search2/indexing/extractors/PSExtractor.inc.php b/search2/indexing/extractors/PSExtractor.inc.php index 5fca0c8..1b85470 100755 --- a/search2/indexing/extractors/PSExtractor.inc.php +++ b/search2/indexing/extractors/PSExtractor.inc.php @@ -9,8 +9,22 @@ class PSExtractor extends ApplicationExtractor public function getSupportedMimeTypes() { + if (OS_WINDOWS) + { + return array(); + } return array('application/postscript'); } + + public function diagnose() + { + if (OS_WINDOWS) + { + return null; + } + return parent::diagnose(); + } + } ?> \ No newline at end of file -- libgit2 0.21.4