Welcome Guest, Not a member yet? Register   Sign In
Login codes
#1

[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');

}
#2

[eluser]Tpojka[/eluser]
Probably in application/core folder. Which library you use?
#3

[eluser]davy_yg[/eluser]

In application/core I only find one file: index.html
#4

[eluser]Tpojka[/eluser]
What library that is not native you use?
In those documentation should be described.




Theme © iAndrew 2016 - Forum software by © MyBB