Update Download.php

This commit is contained in:
bergware
2022-06-24 19:45:19 +02:00
parent 0c4d13a4bd
commit c9c7ffdb43
+3 -3
View File
@@ -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':