Update Database.php

Remove the global $config.