In Symfony 1.2 how can I get the current database name from the database.yml file in Propel?
- by Failpunk
I have a raw sql query I need to run, but the database name changes in each environment (live: db, dev db_test)
I need to get the current database name from the databases.yml file.
How can I get just the current database name?
I am using the Propel ORM