Replaced database.php for doctrine.php on some other places