Fix database.php file