cakephp/cakephp — pull request #552 by tPl0ch (2012-03-08 15:05:11+00:00)
Title: Move inclusion of APP bootstrap after initialization of ErrorHandler

I was trying to check dependencies of a plugin in plugin bootstrap (IMO the right place to do this), but since the ErrorHandler is not configured yet, triggering warnings or raising exceptions will break CakePHP's Error handling.

Moving the inclusion of APP bootstrap behind the ErrorHandler initialization would enable to do this kind of checking in plugin bootstrap files.