Altered database.php