Everything worked fine locallly (on WAMP) but when I moved to a production server (Amazon Linux) the capitilisation of certain directories became important.
My main views directory is app/views
and on the production server the directories inside there have to be non-capitalised - so the path to a view is like app/views/products/index.volt
. However, some of my controllers set their views directory to app/extensions/security/views
and these must be capitalised as app/extensions/security/views/Users/index.volt
in order for the view to be found.
On my local server the case doesn't matter.
It looks like something similar to the problem in this question.
Why do some of the directories require capitalisation and some do not? I don't mind capitalising directories but it would be useful for it to be consistent across all of them.