• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.