Commit de40d5123bcef36f68bd47936c2a7533ec94075c
1 parent
7a564c27
KTS-673
"The search algorithm needs some work" Updated. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7352 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
9 deletions
search2/indexing/bin/registerTypes.php
| ... | ... | @@ -12,21 +12,14 @@ |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | 14 | session_start(); |
| 15 | -print _kt("Registering Extractor mapping to Mime types") . "...\n"; | |
| 16 | - | |
| 17 | 15 | require_once(realpath('../../../config/dmsDefaults.php')); |
| 18 | 16 | |
| 17 | +print _kt("Registering Extractor mapping to Mime types") . "...\n"; | |
| 18 | + | |
| 19 | 19 | $config = KTConfig::getSingleton(); |
| 20 | 20 | $indexer = $config->get('indexer/coreClass'); |
| 21 | 21 | |
| 22 | -if ($indexer != 'PHPLuceneIndexer') | |
| 23 | -{ | |
| 24 | - print _kt("This script only works with the PHPLuceneIndexer.") . "\n"; | |
| 25 | - exit; | |
| 26 | -} | |
| 27 | - | |
| 28 | 22 | require_once('indexing/indexerCore.inc.php'); |
| 29 | - | |
| 30 | 23 | $clear=false; |
| 31 | 24 | if ($argc > 0) |
| 32 | 25 | { | ... | ... |