This commit is contained in:
lionel 2021-01-11 12:55:11 +01:00
parent 6d6b7f4e67
commit 4ab7aa7e1c
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ function downloadFile(event) {
a.style = "display: none"; a.style = "display: none";
a.href = blobUrl; a.href = blobUrl;
console.log(blobUrl); console.log(blobUrl);
a.download = title ; a.download = title;
a.click(); a.click();
a.remove(); a.remove();
}, },

View File

@ -6,7 +6,7 @@ ini_set('display_startup_errors', TRUE);
$root = "/var/www/html";//$_SERVER["DOCUMENT_ROOT"]; $root = "/var/www/html";//$_SERVER["DOCUMENT_ROOT"];
$directory = "/uploads"; $directory = "/uploads/";
$absolute_directory = "$root$directory"; $absolute_directory = "$root$directory";