updater: add /bin and /usr/bin to path before looking for binaries in case of php-fpm empty environment or whatever

master
Andrew Dolgov 12 years ago
parent cfd34086c1
commit 49dc02808e

@ -59,6 +59,10 @@ class Updater extends Plugin {
$stop = true; break;
}
// bah, also humbug
putenv("PATH=" . getenv("PATH") . PATH_SEPARATOR . "/bin" .
PATH_SEPARATOR . "/usr/bin");
array_push($log, "Checking for tar...");
$system_rc = 0;

Loading…
Cancel
Save