cakephp/cakephp — pull request #250 by majna (2011-10-16 20:36:00+00:00)
Title: Refactoring PhpReader::read() to check for .php file first

Performance optimization:
PhpReader files are php files by default (including all `Cake/Config/` files). Try to include them first.

Fixed error when there's a directory with the same name.
Consider `APP/Config/config/` or `APP/Config/settings/`

Then `Configure::load('config');` should throw an exception by reader, not PHP warning.

- passes tests