mirror of
https://github.com/unraid/webgui.git
synced 2026-01-21 17:10:15 -06:00
Merge pull request #473 from Squidly271/patch-1
Switch plugins to a compressed download
This commit is contained in:
@@ -149,7 +149,7 @@ EOF;
|
||||
// Returns TRUE if success else FALSE and fills in error.
|
||||
//
|
||||
function download($URL, $name, &$error) {
|
||||
if ($file = popen("wget --no-cache --progress=dot -O $name $URL 2>&1", 'r')) {
|
||||
if ($file = popen("wget --compressed=auto --no-cache --progress=dot -O $name $URL 2>&1", 'r')) {
|
||||
echo "plugin: downloading: $URL ...\r";
|
||||
$level = -1;
|
||||
while (!feof($file)) {
|
||||
|
||||
Reference in New Issue
Block a user