Hi there,
Today I tried to access my view files directly by just typing in for example https://localhost/myproject/app/views/test.phtml It resulted in output of php code into the browser (tags, functions names, variable names etc). I understand that it is only a view file, but still, some programmers put confidential information or propriatory code into view files.
Is there any way I can restrict direct access to the view files?
Thank you in advance.