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

[eluser]sessions[/eluser]
The constant BASEPATH is referred to at the top of all controllers that I saw. But where is it defined?

You mentioned they go at the top of all files. So you put that line of code in models too?



Messages In This Thread
Where to put if ( ! defined('BASEPATH')) exit('No direct script access allowed'); - by El Forum - 09-02-2013, 10:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB