mirror of
https://github.com/unraid/webgui.git
synced 2026-02-07 01:19:08 -06:00
Fix plugin download routine
Typo in my original PR #473 that prevents any plugin from installing. My bad -> happened because I was too lazy to merge into my fork the tested code and simply manually did a patch.
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 --compressed=auto --no-cache --progress=dot -O $name $URL 2>&1", 'r')) {
|
||||
if ($file = popen("wget --compression=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