mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Add ability to export specific pad revisions
This commit is contained in:
parent
ddf1cd345c
commit
2a86d57e46
10 changed files with 96 additions and 29 deletions
|
@ -20,6 +20,7 @@
|
|||
*/
|
||||
|
||||
var fs = require("fs");
|
||||
var os = require("os");
|
||||
|
||||
/**
|
||||
* The IP ep-lite should listen to
|
||||
|
@ -73,6 +74,19 @@ exports.loglevel = "INFO";
|
|||
*/
|
||||
exports.httpAuth = null;
|
||||
|
||||
//checks if abiword is avaiable
|
||||
exports.abiwordAvailable = function()
|
||||
{
|
||||
if(exports.abiword != null)
|
||||
{
|
||||
return os.type().indexOf("Windows") != -1 ? "withoutPDF" : "yes";
|
||||
}
|
||||
else
|
||||
{
|
||||
return "no";
|
||||
}
|
||||
}
|
||||
|
||||
//read the settings sync
|
||||
var settingsStr = fs.readFileSync("../settings.json").toString();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue