This application demonstrates how to use the Environment library to automatically configure the database connection based on the SERVER_NAME env variable.
- vendors/environment.php
- config/bootstrap.php
- config/environments.php
- config/database.php
The application was baked with CakePHP 1.3.