add config files

This commit is contained in:
lxsang
2019-11-13 14:22:25 +01:00
parent 296fae73c3
commit 01722ae39c
6 changed files with 67 additions and 6 deletions

View File

@ -117,7 +117,7 @@ int main(int argc, char* argv[])
{
// load the config first
if(argc==1)
load_config(CONFIG);
load_config(CONFIG_FILE);
else
load_config(argv[1]);
unsigned port = config()->port;