mirror of
https://github.com/unraid/webgui.git
synced 2026-03-13 06:19:47 -05:00
merge in changes from unRAID 6.1.8
This commit is contained in:
@@ -23,14 +23,14 @@ case 'save':
|
||||
copy($source, $tmp);
|
||||
exec("zip -qlj $docroot/$file $tmp");
|
||||
@unlink($tmp);
|
||||
}
|
||||
}
|
||||
echo "/$file";
|
||||
break;
|
||||
case 'delete':
|
||||
@unlink("$docroot/$file");
|
||||
break;
|
||||
case 'diag':
|
||||
exec("$docroot/webGui/scripts/diagnostics $docroot/$file");
|
||||
exec("$docroot/webGui/scripts/diagnostics {$_POST['anonymize']} $docroot/$file");
|
||||
echo "/$file";
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user