cakephp/cakephp — pull request #543 by xemle (2012-03-04 13:39:56+00:00)
Title: 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.