mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Allow --settings cli arg to be an absolute path
This commit is contained in:
parent
de3a60ee2a
commit
440e8049b0
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ exports.abiwordAvailable = function()
|
||||||
exports.reloadSettings = function reloadSettings() {
|
exports.reloadSettings = function reloadSettings() {
|
||||||
// Discover where the settings file lives
|
// Discover where the settings file lives
|
||||||
var settingsFilename = argv.settings || "settings.json";
|
var settingsFilename = argv.settings || "settings.json";
|
||||||
settingsFilename = path.resolve(path.join(exports.root, settingsFilename));
|
settingsFilename = path.resolve(exports.root, settingsFilename);
|
||||||
|
|
||||||
var settingsStr;
|
var settingsStr;
|
||||||
try{
|
try{
|
||||||
|
|
Loading…
Reference in a new issue