fixing db flag
Merge branch 'master' of github.com:kitinfo/pizza-planer
Merge branch 'master' of github.com:kitinfo/pizza-planer
better code in db.php