title: CakePHP - database config based on URL
body: <p>What is the best way in CakePHP to have multiple database configuration that is going to be used based on environment?</p>
  
  <p>Say I have a staging, prod and dev server.</p>
  
  <p>Thank you,<br>
  Tee</p>