Modified $useDbConfig

Signed-off-by: Marco Sbragi <m.sbragi@gmail.com>