mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Added support for document export, no link from the pad so far
This commit is contained in:
parent
83829759e9
commit
eeddf1348f
5 changed files with 244 additions and 2 deletions
|
@ -46,6 +46,11 @@ exports.defaultPadText = "Welcome to Etherpad Lite!\n\nThis pad text is synchron
|
|||
*/
|
||||
exports.minify = true;
|
||||
|
||||
/**
|
||||
* The path of the abiword executable
|
||||
*/
|
||||
exports.abiword = null;
|
||||
|
||||
//read the settings sync
|
||||
var settingsStr = fs.readFileSync("../settings.json").toString();
|
||||
|
||||
|
@ -75,7 +80,7 @@ for(var i in settings)
|
|||
}
|
||||
|
||||
//we know this setting, so we overwrite it
|
||||
if(exports[i])
|
||||
if(exports[i] !== undefined)
|
||||
{
|
||||
exports[i] = settings[i];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue