[eluser]sorenchr[/eluser]
Hi, I'm new to CodeIgniter, I was wondering if it's considered a good practice to restrict direct access to your view-files? Obviously they are going to contain a lot of php-code that relies on variables and what not passed to them from the controller, so the php-code could easily come up with an error if it's directly accessed couldn't it?
[eluser]sorenchr[/eluser]
Bump. Either this is a really obvious question, or no one knows the answer . I thought this was a widely asked question, seeing that as a developer, one of your primary goals is to avoid your code to break before the user.