![]() |
advanced restrict - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html) +--- Thread: advanced restrict (/thread-52638.html) |
advanced restrict - El Forum - 06-19-2012 [eluser]nagata[/eluser] So I Have been writting more advanced restrict access function for my website, which is supposed to accept multiple check's like (Sample Argument var_dump) array(1) { [0]=> array(2) { ["type"]=> string(5) "group" ["value"]=> string(14) "Administrators" } } Code: function restrict($user_group = FALSE) advanced restrict - El Forum - 06-19-2012 [eluser]InsiteFX[/eluser] For one take the forward slash off of all your /member redirects. advanced restrict - El Forum - 06-19-2012 [eluser]nagata[/eluser] I did it but it dosent work, maybe some actualy usefull suggestion now? advanced restrict - El Forum - 06-19-2012 [eluser]nagata[/eluser] I have came to solution, no help is needed anymore. |