Modify database.php. (adapting to both development and production environment)