Welcome Guest, Not a member yet? Register   Sign In
Where to put if ( ! defined('BASEPATH')) exit('No direct script access allowed');
#1

[eluser]sessions[/eluser]
Sorry if this has been asked hundreds of times here, I did a quick search before posting..

Where should this line go..

if ( ! defined('BASEPATH')) exit('No direct script access allowed');

..just controllers? controllers and models?

why or why not?

Thanks


Messages In This Thread
Where to put if ( ! defined('BASEPATH')) exit('No direct script access allowed'); - by El Forum - 08-24-2013, 06:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB