• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My_Controller issue

#2
[eluser]bretticus[/eluser]
Why not just have a separate controller method for logging out and not calling validate() on it?

BTW:

You can get the current controller with $this->router->class and you can get the current model with $this->router->method.

You can get logout in welcome/index/logout via $this->uri->segment(3).


Messages In This Thread
My_Controller issue - by El Forum - 09-09-2009, 01:39 PM
My_Controller issue - by El Forum - 09-09-2009, 02:17 PM
My_Controller issue - by El Forum - 09-09-2009, 02:19 PM
My_Controller issue - by El Forum - 09-09-2009, 02:22 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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