Modifiche prima di Luglio...

This commit is contained in:
Surya Paolo
2023-08-27 23:55:31 +02:00
parent ba81a33c88
commit ad6b4c2bfa
21 changed files with 1747 additions and 2251 deletions

View File

@@ -1874,10 +1874,14 @@ function deleteFile(req, res, version) {
const relativefile = req.query.filename;
const idapp = req.user.idapp;
if (!relativefile) {
return;
}
try {
let dirmain = '';
if (version > 0) {
if (tools.sulServer() !== 1) {
if (!tools.sulServer()) {
dirmain = '/public';
}
}