Fix URL
This commit is contained in:
parent
6d6b7f4e67
commit
4ab7aa7e1c
@ -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();
|
||||||
},
|
},
|
||||||
|
2
list.php
2
list.php
@ -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";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user