Web Editor home made
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user