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

This code
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
should be included at every class? (Controllers/libraries/models)

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


Theme © iAndrew 2016 - Forum software by © MyBB