ffffff php...

This commit is contained in:
Shish 2020-03-19 14:01:48 +00:00
parent 15258657fc
commit 36f0024426

View file

@ -68,7 +68,7 @@ class UserClass
}
$_all_false = [];
foreach(get_class_vars("Permissions") as $k => $v) {
foreach((new ReflectionClass('Permissions'))->getConstants() as $k => $v) {
$_all_false[$v] = false;
}
new UserClass("base", null, $_all_false);