Welcome Guest, Not a member yet? Register   Sign In
extending controllers
#3

[eluser]Dimitrio[/eluser]
Quote:if ($this->data->user === FALSE) {
header('Location: '.$this->config->item('base_url').'login');


I am very new to CI, can someone please explain to me what the "$this->data->user" is, and where CI gets it from,

as well as the "header".

I am trying to use erkana auth to only show a menu in my Header_view if the person is logged in, but I keep on getting errors, I think I might be able to solve it once I understand these two concepts.

Thnx


Messages In This Thread
extending controllers - by El Forum - 11-26-2008, 02:16 AM
extending controllers - by El Forum - 11-26-2008, 04:43 AM
extending controllers - by El Forum - 02-16-2009, 05:02 AM
extending controllers - by El Forum - 02-16-2009, 05:10 AM
extending controllers - by El Forum - 02-16-2009, 05:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB