You'll need a user array of some sort. In the example below,
$row
is our user array.Code:
$auth2 = new \phpbb\auth\auth();$auth2->acl($row);$s_in_group = $auth2->acl_get('some_permission') ? true : false;unset($auth2);[code]
Statistics: Posted by Kailey — Sun May 19, 2024 4:17 pm