ZF-8412: Unhelpful error message if configuration is wrong
If I put in application.ini (generated by standard zf create project) the following line:
resources.frontcontroller.blah = 1
(note the lowercase 'c' in frontcontroller) then I get this error:
PHP Fatal error: Uncaught exception 'Zend_Application_Bootstrap_Exception' with message 'No default controller directory registered with front controller' in C:\Projects\framework\library\Zend\Application\Bootstrap\Bootstrap.php:71 Stack trace:
0 C:\Projects\framework\library\Zend\Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
Now, I understand this is probably caused by some problem parsing configuration that can't be properly displayed - however it would be much nicer if I could get it from the error message, since "No default controller directory" give little hint what is really wrong there.