Commit 052d14ab43d1bf9ab12d2d3bed69e9a629c13916
1 parent
e4504b69
Use the correct MIME type for postscript files.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4483 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktstandard/contents/PsIndexer.php
| @@ -4,7 +4,7 @@ require_once(KT_DIR . '/plugins/ktstandard/contents/BaseIndexer.php'); | @@ -4,7 +4,7 @@ require_once(KT_DIR . '/plugins/ktstandard/contents/BaseIndexer.php'); | ||
| 4 | 4 | ||
| 5 | class KTPostscriptIndexerTrigger extends KTBaseIndexerTrigger { | 5 | class KTPostscriptIndexerTrigger extends KTBaseIndexerTrigger { |
| 6 | var $mimetypes = array( | 6 | var $mimetypes = array( |
| 7 | - 'application/pdf' => true, | 7 | + 'application/postscript' => true, |
| 8 | ); | 8 | ); |
| 9 | var $command = 'pstotext'; // could be any application. | 9 | var $command = 'pstotext'; // could be any application. |
| 10 | var $commandconfig = 'indexer/pstotext'; // could be any application. | 10 | var $commandconfig = 'indexer/pstotext'; // could be any application. |