cakephp/cakephp — pull request #542 by xemle (2012-03-04 13:33:52+00:00)
Title: Optional db config

Include database.php only if it exists

Adds an file check for the database configuration and includes the file only if it exists.

The datasource configuration might not be always available e.g. for application bootstrapping via a webfront. The patch inits an empty configuration if no database.php file is present.