[eluser]davy_yg[/eluser]
Hello,
can anyone help me explain the following codes:
where does signed_in() come from ? If it is the extends of MY_Controller then, where can I find MY_Controller or is it a default code from CI ? Thanks before.
Code:
class Login extends MY_Controller {
public function index()
{
if ($this->signed_in())
redirect_admin();
else
$this->load->view('login');
}