ffffff php...
This commit is contained in:
parent
15258657fc
commit
36f0024426
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class UserClass
|
||||||
}
|
}
|
||||||
|
|
||||||
$_all_false = [];
|
$_all_false = [];
|
||||||
foreach(get_class_vars("Permissions") as $k => $v) {
|
foreach((new ReflectionClass('Permissions'))->getConstants() as $k => $v) {
|
||||||
$_all_false[$v] = false;
|
$_all_false[$v] = false;
|
||||||
}
|
}
|
||||||
new UserClass("base", null, $_all_false);
|
new UserClass("base", null, $_all_false);
|
||||||
|
|
Reference in a new issue