summaryrefslogtreecommitdiff
path: root/classes/handler/administrative.php
blob: 52dfed8b701bd8c52a2799432168c994574a5346 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
class Handler_Administrative extends Handler_Protected {
   function before($method) {
      if (parent::before($method)) {
         if (($_SESSION["access_level"] ?? 0) >= 10) {
            return true;
         }
      }
      return false;
   }
}