Commit e04b12126599d92ac04c8956614640e9dcafd688
1 parent
4d13b750
KTS-2579
"scripts not resolving paths correctly with stack installer" Update. Adding changing to relative path so external user/scripts don't have to do this Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8113 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
0 deletions
search2/indexing/bin/cronIndexer.php
| @@ -42,6 +42,7 @@ | @@ -42,6 +42,7 @@ | ||
| 42 | * This script is to be called periodically to index documents. | 42 | * This script is to be called periodically to index documents. |
| 43 | */ | 43 | */ |
| 44 | 44 | ||
| 45 | +chdir(dirname(__FILE__)); | ||
| 45 | require_once(realpath('../../../config/dmsDefaults.php')); | 46 | require_once(realpath('../../../config/dmsDefaults.php')); |
| 46 | require_once('indexing/indexerCore.inc.php'); | 47 | require_once('indexing/indexerCore.inc.php'); |
| 47 | 48 |