CodeIgniter Forums
Function Auth - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Function Auth (/showthread.php?tid=46682)



Function Auth - El Forum - 11-11-2011

[eluser]Ken Verhaegen[/eluser]
I have a Lang.php controller,
where everything needs to be redirected, but just not one function.
So if I do ..com/lang/set/nl
I load that function (set), but all others
like:
lang/
lang/ss
lang/randsomde/e/2

Must be redirected without any code running.


I know I can do it in the __construct,
but how do I check which function (like set()) is loaded?