[eluser]LuckyFella73[/eluser]
hmm, in my application it works that way but I extended the
CI controller.
The welcome controller from the CI2 package looks like that:
Code:
class Welcome extends CI_Controller {
function Welcome()
{
parent::CI_Controller();
}
so maybe you have to write it like:
Code:
class Site extends CI_Controller
{
function Site() // here
{
parent::CI_Controller(); // and here
$this->load->library('session');
$this->load->helper('form');
$this->load->helper('url');
$this->load->model('membership/membership');