Fixed database.php file