Commit e841ae806b8a64ed9a0b052c3e45a5ef2fa4b1b9

Authored by conradverm
1 parent fcd62f24

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@7575 c91229c3-7414-0410-bfa2-8a42b809f60b
search2/search/bin/cronSavedSearch.php
... ... @@ -36,6 +36,7 @@
36 36 *
37 37 */
38 38  
  39 +chdir(dirname(__FILE__));
39 40 require_once(realpath('../../../config/dmsDefaults.php'));
40 41 //require_once('indexing/indexerCore.inc.php');
41 42  
... ...
search2/search/bin/search.php
... ... @@ -36,6 +36,7 @@
36 36 *
37 37 */
38 38  
  39 +chdir(dirname(__FILE__));
39 40 require_once(realpath('../../../config/dmsDefaults.php'));
40 41 require_once(KT_DIR . '/ktapi/ktapi.inc.php');
41 42  
... ...