mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-09 14:16:17 +02: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
@ -499,7 +499,9 @@ exports.reloadSettings = function reloadSettings() {
|
||||
if(!exports.suppressErrorsInPadText){
|
||||
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…
x
Reference in New Issue
Block a user