You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
256 B
PHTML
12 lines
256 B
PHTML
4 years ago
|
<?php
|
||
|
class Handler_Administrative extends Handler_Protected {
|
||
|
function before($method) {
|
||
|
if (parent::before($method)) {
|
||
|
if (($_SESSION["access_level"] ?? 0) >= 10) {
|
||
|
return true;
|
||
|
}
|
||
|
}
|
||
|
return false;
|
||
|
}
|
||
|
}
|