Simple Acl |
hi , when an user log into my site a set 2 session variable :
$_SESSION['user_id] and $_SESSION['role_id'] to redirect every view if the user aren't logged i try to insert an if in the construct : Code: public function __construct() { But the browser tell me that ther'are too many redirect . Why ? |
Messages In This Thread |
Simple Acl - by pippuccio76 - 09-02-2017, 03:41 AM
RE: Simple Acl - by Paradinight - 09-02-2017, 03:45 AM
RE: Simple Acl - by pippuccio76 - 09-02-2017, 03:51 AM
RE: Simple Acl - by Paradinight - 09-02-2017, 09:51 AM
RE: Simple Acl - by pippuccio76 - 09-03-2017, 01:32 AM
RE: Simple Acl - by InsiteFX - 09-03-2017, 03:14 AM
|