a.binder 9 年之前
父节点
当前提交
bb49ddf96e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      SE/se-lib/Route/UrlAction/Ant.php

+ 1 - 0
SE/se-lib/Route/UrlAction/Ant.php

@@ -78,6 +78,7 @@ class Route_UrlAction_Ant extends Route_Ant {// @doc @see Route_Ant
 
       DBG::log([ 'msg'=>"cmd", 'cmd'=>str_replace(APP_PATH_ROOT, 'SE', $cmd) ]);
       //V::exec($cmd, $out, $ret); to nie dziala prawidlowo
+      putenv('PATH=/opt/local/bin/ant');
       $out=shell_exec($cmd);
       DBG::log([ 'msg'=>"cmd and returns({$ret})", 'output'=>$out ]);
       $html = []; $startRead = false;