Fix wrong view path resolving in ZF

I've created 40 to 50 projects based on Zend Framework 2. As you can imagine, while working on those projects I've created lots of modules myself.

One or two times a ran into a strange problem, which only occured under certain circumstances. I digged deep into the code of Zend…