- I have these roles defined:
- return array(
- 'sponsor'=> array(
- 'guest'=> array(
- 'users' => array(
- When I set $userRole = 'guest'; and when I call sponsor_login, I was able to see login page. But when I changed $userRole = 'sponsor' and called same sponsor_login page, page says The page isn't redirecting properly. What's wrong here. As per my requirement. It should be redirected to sponsor_home page. Could you please suggest something.
a guest Oct 28th, 2014 211 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data