su_access.php
Table of Contents
- check_su_access() : mixed
- checkSuPermission() : bool|redirect
- Check Superuser premission.
Functions
check_su_access()
check_su_access(mixed $level) : mixed
Parameters
- $level : mixed
Return values
mixed —checkSuPermission()
Check Superuser premission.
checkSuPermission(int $permission[, string|null $return = null ]) : bool|redirect
Just check and redirect if denied you have permission.
Parameters
- $permission : int
- $return : string|null = null