首页
编程
IT技术
数码大全
登录
标签
phpIf user is Admin or another r
php - If user is Admin or another role
I have this code, which works perfectly:if (in_array('administrator', $user->roles)) {I need it to also che
phpIf user is Admin or another role
admin
2天前
7
0