Added config for gpg key

This commit is contained in:
Deon George
2019-10-20 22:31:15 +11:00
parent e6e9396c8d
commit a5231cb7ff
3 changed files with 28 additions and 4 deletions

View File

@@ -117,7 +117,21 @@ function getFrame(page) {
return frame;
}
function msgBaseExport(msgbase,page,text) {
function loadOptions() {
ini = new File(file_cfgname(system.ctrl_dir,'videotex.ini'));
if (!ini.open("r")) {
return undefined;
}
val = ini.iniGetObject(null);
ini.close();
return val;
}
function msgBaseImport(msgbase,page,text) {
var msgbase = new MsgBase(findMsgBase(msgbase));
log(LOG_DEBUG,'Sending ['+page+'] to message base ['+msgbase.cfg.code+']');