Commit 533f9f9787a7d839ad244fa1d8093f50e852fbd3

Authored by kevin_fourie
1 parent eea1136e

Merged in from DEV trunk...

KTS-3166
"On certain systems the external binaries are not found after upgrade"
Fixed. Added full path to upgrade installer function. NOTE: This will only work for pre 3.5.2 upgrades.

Committed By: Kevin Fourie
Reviewed By: Philip Arkcoll

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@8256 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/upgrades/UpgradeFunctions.inc.php
... ... @@ -1055,16 +1055,16 @@ class UpgradeFunctions {
1055 1055 $ini->addItem('externalBinary', 'df', KT_STACK_DIR . '/bin/gnuwin32/df.exe');
1056 1056  
1057 1057 } else {
1058   - $ini->addItem('externalBinary', 'xls2csv', 'xls2csv', '', 'The following are external binaries that may be used by various parts of knowledgeTree.');
1059   - $ini->addItem('externalBinary', 'pdftotext', 'pdftotext');
1060   - $ini->addItem('externalBinary', 'catppt', 'catppt');
1061   - $ini->addItem('externalBinary', 'pstotext', 'pstotext');
1062   - $ini->addItem('externalBinary', 'catdoc', 'catdoc');
1063   - $ini->addItem('externalBinary', 'antiword', 'antiword');
1064   - $ini->addItem('externalBinary', 'python', 'python');
1065   - $ini->addItem('externalBinary', 'java', 'java');
1066   - $ini->addItem('externalBinary', 'php', 'php');
1067   - $ini->addItem('externalBinary', 'df', 'df');
  1058 + $ini->addItem('externalBinary', 'xls2csv', KT_STACK_DIR . '/common/bin/xls2csv', '', 'The following are external binaries that may be used by various parts of knowledgeTree.');
  1059 + $ini->addItem('externalBinary', 'pdftotext', KT_STACK_DIR . '/common/bin/pdftotext');
  1060 + $ini->addItem('externalBinary', 'catppt', KT_STACK_DIR . '/common/bin/catppt');
  1061 + $ini->addItem('externalBinary', 'pstotext', KT_STACK_DIR . '/common/bin/pstotext');
  1062 + $ini->addItem('externalBinary', 'catdoc', KT_STACK_DIR . '/common/bin/catdoc');
  1063 + $ini->addItem('externalBinary', 'antiword', KT_STACK_DIR . '/common/bin/antiword');
  1064 + $ini->addItem('externalBinary', 'python', KT_STACK_DIR . '/openoffice/program/python');
  1065 + $ini->addItem('externalBinary', 'java', KT_STACK_DIR . '/java/jre/bin/java');
  1066 + $ini->addItem('externalBinary', 'php', KT_STACK_DIR . '/php/bin/php');
  1067 + $ini->addItem('externalBinary', 'df', KT_STACK_DIR . '/common/bin/df');
1068 1068 }
1069 1069  
1070 1070 // search Section
... ...