blob: 533cb36302f884e509353a00b5a34fc24f5ebd91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<?php
class Handler_Administrative extends Handler_Protected {
function before(string $method): bool {
if (parent::before($method)) {
if (($_SESSION["access_level"] ?? 0) >= UserHelper::ACCESS_LEVEL_ADMIN) {
return true;
}
}
return false;
}
}
|