mirror of
https://github.com/unraid/webgui.git
synced 2026-05-03 16:29:45 -05:00
Update Download.php
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright 2005-2021, Lime Technology
|
||||
* Copyright 2012-2021, Bergware International.
|
||||
/* Copyright 2005-2022, Lime Technology
|
||||
* Copyright 2012-2022, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
@@ -40,7 +40,7 @@ case 'delete':
|
||||
case 'diag':
|
||||
if (is_file("$docroot/$file") && !rootpath($file)) exit;
|
||||
$anon = empty($_POST['anonymize']) ? '' : escapeshellarg($_POST['anonymize']);
|
||||
exec("echo $docroot/webGui/scripts/diagnostics $anon ".escapeshellarg("$docroot/$file")." | at NOW > /dev/null 2>&1");
|
||||
exec("echo $docroot/webGui/scripts/diagnostics $anon ".escapeshellarg("$docroot/$file")." | at -M now > /dev/null 2>&1");
|
||||
echo "/$file";
|
||||
break;
|
||||
case 'unlink':
|
||||
|
||||
Reference in New Issue
Block a user