updater: add /bin and /usr/bin to path before looking for binaries in case of php-fpm empty environment or whatever
This commit is contained in:
parent
cfd34086c1
commit
49dc02808e
|
@ -59,6 +59,10 @@ class Updater extends Plugin {
|
||||||
$stop = true; break;
|
$stop = true; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// bah, also humbug
|
||||||
|
putenv("PATH=" . getenv("PATH") . PATH_SEPARATOR . "/bin" .
|
||||||
|
PATH_SEPARATOR . "/usr/bin");
|
||||||
|
|
||||||
array_push($log, "Checking for tar...");
|
array_push($log, "Checking for tar...");
|
||||||
|
|
||||||
$system_rc = 0;
|
$system_rc = 0;
|
||||||
|
|
Loading…
Reference in New Issue