Commit c932c853f7ac3579b2488b01e332853048da93a6
1 parent
011545c0
KTS-673
"The search algorithm needs some work" Updated. Scheduler initialised when indexer is first run. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7538 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
2 deletions
search2/indexing/indexerCore.inc.php
| ... | ... | @@ -635,13 +635,15 @@ abstract class Indexer |
| 635 | 635 | } |
| 636 | 636 | $default->log->info('checkForRegisteredTypes: start'); |
| 637 | 637 | |
| 638 | - $this->registerTypes(true); | |
| 638 | + $date = date('Y-m-d H:i'); | |
| 639 | + $sql = "UPDATE scheduler_tasks SET run_time='$date'"; | |
| 640 | + DBUtil::runQuery($sql); | |
| 639 | 641 | |
| 642 | + $this->registerTypes(true); | |
| 640 | 643 | |
| 641 | 644 | $disable = array( |
| 642 | 645 | OS_WINDOWS=>array('PSExtractor'), |
| 643 | 646 | OS_UNIX => array() |
| 644 | - | |
| 645 | 647 | ); |
| 646 | 648 | |
| 647 | 649 | foreach($disable[OS_WINDOWS] as $extractor) | ... | ... |