fix an error of setting this.db
Merge branch 'DatabaseServer' of https://github.com/skiadas/PanthR into DatabaseServer