mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
settings: the dirtyDb file path is interpreted using makeAbsolute()
Otherwise its position depended on process.cwd
This commit is contained in:
parent
5406472d65
commit
435b2a4edf
1 changed files with 3 additions and 1 deletions
|
@ -499,7 +499,9 @@ exports.reloadSettings = function reloadSettings() {
|
||||||
if(!exports.suppressErrorsInPadText){
|
if(!exports.suppressErrorsInPadText){
|
||||||
exports.defaultPadText = exports.defaultPadText + "\nWarning: " + dirtyWarning + suppressDisableMsg;
|
exports.defaultPadText = exports.defaultPadText + "\nWarning: " + dirtyWarning + suppressDisableMsg;
|
||||||
}
|
}
|
||||||
console.warn(dirtyWarning);
|
|
||||||
|
exports.dbSettings.filename = absolutePaths.makeAbsolute(exports.dbSettings.filename);
|
||||||
|
console.warn(dirtyWarning + ` File location: ${exports.dbSettings.filename}`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue