Commit ba6110c10672d2efb21b8cb016a17046e872ec88

Authored by megan_w
1 parent ac2ef0a1

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/trunk@8375 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);