fix gitignore
revise database.php