Commit fe458ae9304946d0d7d1ba45e648bdb65b900615

Authored by conradverm
1 parent 2020bd44

KTS-673

"The search algorithm needs some work"
Updated. pstotext only available in windows

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7436 c91229c3-7414-0410-bfa2-8a42b809f60b
search2/indexing/extractors/PSExtractor.inc.php
@@ -9,8 +9,22 @@ class PSExtractor extends ApplicationExtractor @@ -9,8 +9,22 @@ class PSExtractor extends ApplicationExtractor
9 9
10 public function getSupportedMimeTypes() 10 public function getSupportedMimeTypes()
11 { 11 {
  12 + if (OS_WINDOWS)
  13 + {
  14 + return array();
  15 + }
12 return array('application/postscript'); 16 return array('application/postscript');
13 } 17 }
  18 +
  19 + public function diagnose()
  20 + {
  21 + if (OS_WINDOWS)
  22 + {
  23 + return null;
  24 + }
  25 + return parent::diagnose();
  26 + }
  27 +
14 } 28 }
15 29
16 ?> 30 ?>
17 \ No newline at end of file 31 \ No newline at end of file