|
|
@@ -400,6 +400,8 @@ class V {
|
|
|
public static function exec($cmd, &$out, &$ret) {
|
|
|
$out = null;
|
|
|
$ret = null;
|
|
|
+ $path = "PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:/opt/local/lib/mysql55/bin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin:/Users/pl/programy/bin";
|
|
|
+ $cmd = "{$path}\n{$cmd}";
|
|
|
exec($cmd, $out, $ret);
|
|
|
return $ret;
|
|
|
}
|