cakephp/cakephp — pull request #787 by luizhrqas (2012-08-23 05:39:27+00:00)
Title: useDbConfig more semantic (development/production)

Set the useDbConfig default = 'development' and if Configure::read('debug') == 0, set the $useDbConfig to production, by default.