CodeIgniter Forums
Get controller and method called inside the super controller - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Get controller and method called inside the super controller (/showthread.php?tid=35804)



Get controller and method called inside the super controller - El Forum - 11-11-2010

[eluser]Unknown[/eluser]
Hello,
i want to check some stuff into the Super Controller Library and redirect if one condition is ok.

So, when the first redirection is done towards a specific (let's say signup page), i want to avoid infinite loop.
So i want to check if the signup controller has been called and so avoid to reredirect.

How could i get this information?

Thanks a lot.