Commit 43587914e9573ac763433e2b6c39fb53e0fc27e4

Authored by megan_w
1 parent 3626871d

KTS-3147

"Scheduler calls the default php and doesn't check for the stack php"
Fixed. It now checks for the stack php first.

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8245 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 3 additions and 2 deletions
bin/scheduler.php
1 1 <?php
2 2 /**
3   - * $Id:$
  3 + * $Id$
4 4 *
5 5 * KnowledgeTree Open Source Edition
6 6 * Document Management Made Simple
... ... @@ -193,7 +193,8 @@ if (empty($aList))
193 193 if ($ext == 'php')
194 194 {
195 195 $config = KTConfig::getSingleton();
196   - $phpPath = $config->get('externalBinary/php');
  196 + $phpPath = KTUtil::checkForStackCommand('externalBinary/php');
  197 + //$config->get('externalBinary/php');
197 198  
198 199 // being protective as some scripts work on relative paths
199 200 $dirname = dirname($file);
... ...