From da42410fdb928ce2c30912f0e101342ddc39bd08 Mon Sep 17 00:00:00 2001 From: Megan Watson Date: Fri, 24 Jul 2009 16:03:39 +0200 Subject: [PATCH] Getting the php path from config instead of through the ktutil function which doesn't seem to work. Story Id: 964254 --- bin/scheduler.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- libgit2 0.21.4