diff --git a/bin/scheduler.php b/bin/scheduler.php index 316c1f9..160532d 100644 --- a/bin/scheduler.php +++ b/bin/scheduler.php @@ -210,7 +210,9 @@ if (empty($aList)) if ($ext == 'php') { - $phpPath = KTUtil::findCommand('externalBinary/php'); + $oKTConfig = KTConfig::getSingleton(); + $phpPath = $oKTConfig->get('externalBinary/php', 'php'); + //$phpPath = KTUtil::findCommand('externalBinary/php'); // being protective as some scripts work on relative paths $dirname = dirname($file);