The pad default text is now configurable in the settings file

This commit is contained in:
Peter 'Pita' Martischka 2011-05-19 22:46:19 +01:00
parent a72d68a4fe
commit 309d594a9a
3 changed files with 8 additions and 4 deletions

View file

@ -21,6 +21,7 @@ exports.port = 9001;
exports.dbType = "sqlite";
exports.dbSettings = { "filename" : "../var/sqlite.db" };
exports.logHTTP = true;
exports.defaultPadText = "Welcome to Etherpad Lite!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nEtherpad Lite on Github: http:\/\/j.mp/ep-lite\n";
//read the settings sync
var settingsStr = fs.readFileSync("../settings.json").toString();