nette/nette — pull request #673 by vojtech-dobes (2012-06-03 17:35:03+00:00)
Title: Check unknown config section after calling 'loadConfiguration'

With this change, it would be possible to register other extensions by another extension. Registering of extension is now possibly really only in PHP. Because it's (as far as I've seen) always just `$name => new $class`, it would be great to register extensions in config file.

@HosipLan already suggested [simple solution](http://forum.nette.org/cs/10875-nette-addons-konvence-a-architektura-aplikace#p80274), but it doesn't work with other type files is just hack. With this change, there would be place for helper like this: https://gist.github.com/2864288.