Welcome Guest, Not a member yet? Register   Sign In
BASEPATH question!
#1

[eluser]Lazos[/eluser]
This code
Code:
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
should be included at every class? (Controllers/libraries/models)
#2

[eluser]Colin Williams[/eluser]
It just prevents the file from loading outside the CI "stack." So, yeah, generally you should do that.
#3

[eluser]Lazos[/eluser]
Thanks!




Theme © iAndrew 2016 - Forum software by © MyBB