| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | public function __construct() |
||
| 9 | { |
||
| 10 | parent::__construct(); |
||
| 11 | |||
| 12 | // special authentication check for the entire controller: Note the check-ADMIN-authentication! |
||
| 13 | // All methods inside this controller are only accessible for admins (= users that have role type 7) |
||
| 14 | Auth::checkAdminAuthentication(); |
||
| 15 | } |
||
| 16 | |||
| 36 |