open
https://gitlab.synchro.net/main/sbbs/-/issues/253
Currently postit.js resides in the exec directory and the code uses the same as rootdir to save the databases (.dat and .his)
```
var security_required=argv[1]; //SECOND PASSED ARGUMENT FOR SECURITY LEVEL REQUIRED TO POST
var root_name=argv[0]; //ROOT DATAFILE NAME, USED TO SEPARATE INSTANCES OF THE PROGRAM
var root_dir;
try { barfitty.barf(barf); } catch(e) { root_dir = e.fileName; }
root_dir = root_dir.replace(/[^\/\\]*$/,'');
var current=new MessageList(root_dir,root_name,".dat");
var history=new MessageList(root_dir,root_name,".his");
```
I think it is better if you can configure (maybe via modopts.ini) the path where they should be saved or at least use the system.data_dir directory directly.
thanks!
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net