Modifiche prima di Luglio...
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user