This hack has a major bug. If your Admins dont have the groupid 6 you cant access the page...
/edit:
Hm and changing to this doesn't work:
if (!can_administer('whatever'))
{
print_cp_no_permission();
}
/edit2:
Anybody knows a way to change it in that way, that all people who have access to the admin panel can view it? Because in my case, they are all in a lot of different usergroups.
|