Commit 5fd8282a1b826adec6398aded11cd32e96440cf7
1 parent
87504960
KTS-673
"The search algorithm needs some work" Updated. dmsDefaults needs to move for internationalisation Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7401 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
1 deletions
search2/indexing/bin/recreateIndex.php
| ... | ... | @@ -10,6 +10,8 @@ |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | session_start(); |
| 13 | +require_once(realpath('../../../config/dmsDefaults.php')); | |
| 14 | + | |
| 13 | 15 | print _kt("Recreate Lucene index") . "...\n"; |
| 14 | 16 | |
| 15 | 17 | $sure=false; |
| ... | ... | @@ -39,7 +41,6 @@ if (!$sure) |
| 39 | 41 | } |
| 40 | 42 | |
| 41 | 43 | |
| 42 | -require_once(realpath('../../../config/dmsDefaults.php')); | |
| 43 | 44 | |
| 44 | 45 | $config = KTConfig::getSingleton(); |
| 45 | 46 | $indexer = $config->get('indexer/coreClass'); | ... | ... |