From e04b12126599d92ac04c8956614640e9dcafd688 Mon Sep 17 00:00:00 2001 From: conradverm Date: Thu, 21 Feb 2008 10:58:14 +0000 Subject: [PATCH] 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 --- search2/indexing/bin/cronIndexer.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/search2/indexing/bin/cronIndexer.php b/search2/indexing/bin/cronIndexer.php index 80977f7..850f38f 100755 --- a/search2/indexing/bin/cronIndexer.php +++ b/search2/indexing/bin/cronIndexer.php @@ -42,6 +42,7 @@ * This script is to be called periodically to index documents. */ +chdir(dirname(__FILE__)); require_once(realpath('../../../config/dmsDefaults.php')); require_once('indexing/indexerCore.inc.php'); -- libgit2 0.21.4