Welcome Guest, Not a member yet? Register   Sign In
Restricting direct access to your view-files?
#1

[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?

Thanks for your time.


Messages In This Thread
Restricting direct access to your view-files? - by El Forum - 03-04-2010, 05:03 PM
Restricting direct access to your view-files? - by El Forum - 03-04-2010, 06:03 PM
Restricting direct access to your view-files? - by El Forum - 03-04-2010, 06:15 PM
Restricting direct access to your view-files? - by El Forum - 03-05-2010, 12:46 AM
Restricting direct access to your view-files? - by El Forum - 03-05-2010, 01:41 AM
Restricting direct access to your view-files? - by El Forum - 03-05-2010, 02:28 AM
Restricting direct access to your view-files? - by El Forum - 03-05-2010, 09:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB