Welcome Guest, Not a member yet? Register   Sign In
Just made some changes to the code and would like to share.
#1

[eluser]Unknown[/eluser]
hello,

I have just made changes to the Code Igniter code and in particular to the CodeIgniter file.
These are small changes. I have created a class that resides between the code igniter Controller and application controllers. This class handles session authorization.

This class in particular has a method for determining if the stem (last part of the directory) that names a method in the application class is accesible for the type of user. The codeIngiter file checks for the presence of the method and then calls it if it is there. If the authorization fails, the access to the page is bypassed.

Is anyone interested?
#2

[eluser]Randy Casburn[/eluser]
Hi Richard,

You should investigate the use of Hooks. I think you find them quite handy. Docs are here...

http://ellislab.com/codeigniter/user-gui...hooks.html

What you've done, essentially, sounds like rewritten "pre-controller" hook functionality to provide your authentication.

Welcome to CI. Hope you have fun with it..

Randy

p.s. I've noticed your double post here, no real reason to do that really.
#3

[eluser]Muser[/eluser]
I'm really interested to see it Wink




Theme © iAndrew 2016 - Forum software by © MyBB