Allow comments in the settings file

This commit is contained in:
Peter 'Pita' Martischka 2011-05-19 14:30:08 +01:00
parent 9849e81e08
commit b0a937d8de
2 changed files with 21 additions and 3 deletions

View file

@ -1,7 +1,23 @@
/*
This file must be valid JSON. But comments are allowed
*/
{
"port" : 9001,
//The Type of the database. You can choose between sqlite and mysql
"dbType" : "sqlite",
//the database specific settings
"dbSettings" : {
"filename" : "../var/sqlite.db"
}
/* An Example of MySQL Configuration
"dbType" : "mysql",
"dbSettings" : {
"user" : "root",
"host" : "localhost",
"password": "",
"database": "store"
}
*/
}