Commit 2b2c3eea94e1349c02ef362fdfb2b9c840452088

Authored by kevin_fourie
1 parent 4ed0a0f0

Merged in from DEV trunk...

KTS-3254
"KTUtil::checkForStackCommand assumes php is to be found inside KTDir"
Fixed. The scheduler now calls findCommand() which is not a stack specific function.

Committed by: Megan Watson
Reviewed by: Jonathan Byrne


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.2c-Release-Branch@8400 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 3 deletions
bin/scheduler.php
@@ -192,9 +192,7 @@ if (empty($aList)) @@ -192,9 +192,7 @@ if (empty($aList))
192 192
193 if ($ext == 'php') 193 if ($ext == 'php')
194 { 194 {
195 - $config = KTConfig::getSingleton();  
196 - $phpPath = KTUtil::checkForStackCommand('externalBinary/php');  
197 - //$config->get('externalBinary/php'); 195 + $phpPath = KTUtil::findCommand('externalBinary/php');
198 196
199 // being protective as some scripts work on relative paths 197 // being protective as some scripts work on relative paths
200 $dirname = dirname($file); 198 $dirname = dirname($file);