Commit da42410fdb928ce2c30912f0e101342ddc39bd08

Authored by Megan Watson
1 parent 1a3ae40f

Getting the php path from config instead of through the ktutil function which doesn't seem to work.

Story Id: 964254

Committed by: Megan Watson
Showing 1 changed file with 3 additions and 1 deletions
bin/scheduler.php
... ... @@ -210,7 +210,9 @@ if (empty($aList))
210 210  
211 211 if ($ext == 'php')
212 212 {
213   - $phpPath = KTUtil::findCommand('externalBinary/php');
  213 + $oKTConfig = KTConfig::getSingleton();
  214 + $phpPath = $oKTConfig->get('externalBinary/php', 'php');
  215 + //$phpPath = KTUtil::findCommand('externalBinary/php');
214 216  
215 217 // being protective as some scripts work on relative paths
216 218 $dirname = dirname($file);
... ...