upload script edited

This commit is contained in:
Bogdan Pilyugin 2022-11-16 08:26:09 +02:00
parent c1a8cadda5
commit be81499a00

View File

@ -33,7 +33,7 @@ function setpath() {
} }
function upload() { function upload() {
var filePath = document.getElementById("filepath").value; var filePath = document.getElementById("filepath").value;
var upload_path = "files/upload/" + filePath; var upload_path = "upload/" + filePath;
var fileInput = document.getElementById("newfile").files; var fileInput = document.getElementById("newfile").files;
/* Max size of an individual file. Make sure this /* Max size of an individual file. Make sure this