modify database.php
Merge branch 'master' of https://github.com/rcsv/CakeFC
fix submit method