Web Editor home made

This commit is contained in:
Surya Paolo
2022-11-17 08:09:48 +01:00
parent 60cf27c002
commit 745d4829bb
7 changed files with 52 additions and 9 deletions

View File

@@ -1456,6 +1456,13 @@ module.exports = {
return myapp.abilitanave;
},
removeLastSlashFromPath: function(myString) {
let regex = /\/$/;
let result = myString.replace(regex, "");
return result;
},
getdirByIdApp: function(idapp, dirmain = false) {
let mypath = '';
@@ -1474,7 +1481,7 @@ module.exports = {
}
}
return mypath;
return this.removeLastSlashFromPath(mypath);
},
getAdminEmailByIdApp: function(idapp) {