Commit c1b449fa74e083adb8d9f7122a36d2e5cf2b03fd
1 parent
66869c6e
KTS-673
"The search algorithm needs some work" Implemented. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7160 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
1 deletions
config/dmsDefaults.php
| @@ -529,11 +529,12 @@ class KTInit { | @@ -529,11 +529,12 @@ class KTInit { | ||
| 529 | // }}} | 529 | // }}} |
| 530 | 530 | ||
| 531 | $KTInit = new KTInit(); | 531 | $KTInit = new KTInit(); |
| 532 | - | 532 | +$KTInit->prependPath(KT_DIR . '/thirdparty/ZendFramework/library'); |
| 533 | $KTInit->prependPath(KT_DIR . '/thirdparty/pear'); | 533 | $KTInit->prependPath(KT_DIR . '/thirdparty/pear'); |
| 534 | $KTInit->prependPath(KT_DIR . '/thirdparty/Smarty'); | 534 | $KTInit->prependPath(KT_DIR . '/thirdparty/Smarty'); |
| 535 | $KTInit->prependPath(KT_DIR . '/thirdparty/simpletest'); | 535 | $KTInit->prependPath(KT_DIR . '/thirdparty/simpletest'); |
| 536 | $KTInit->prependPath(KT_DIR . '/ktapi'); | 536 | $KTInit->prependPath(KT_DIR . '/ktapi'); |
| 537 | +$KTInit->prependPath(KT_DIR . '/search2'); | ||
| 537 | require_once('PEAR.php'); | 538 | require_once('PEAR.php'); |
| 538 | 539 | ||
| 539 | // Give everyone access to legacy PHP functions | 540 | // Give everyone access to legacy PHP functions |
| @@ -545,6 +546,7 @@ require_once(KT_LIB_DIR . '/util/ktutil.inc'); | @@ -545,6 +546,7 @@ require_once(KT_LIB_DIR . '/util/ktutil.inc'); | ||
| 545 | require_once(KT_LIB_DIR . '/ktentity.inc'); | 546 | require_once(KT_LIB_DIR . '/ktentity.inc'); |
| 546 | 547 | ||
| 547 | require_once(KT_LIB_DIR . '/config/config.inc.php'); | 548 | require_once(KT_LIB_DIR . '/config/config.inc.php'); |
| 549 | +require_once(KT_DIR . '/search2/indexing/indexerCore.inc.php'); | ||
| 548 | 550 | ||
| 549 | $KTInit->initConfig(); | 551 | $KTInit->initConfig(); |
| 550 | $KTInit->setupI18n(); | 552 | $KTInit->setupI18n(); |