ticket:1 Fixed bug with database path - added absolute path generation function