This is fixed in the development release. Functions like "is_logged_in()" and session variables like "$_SESSION['rank']" are replaced by functions in custom_functions.php. That way, users (sysops) can edit custom_functions.php to match their current environment.
Current custom_functions:
HasPermission($type)
Returns boolean.
$type can be e.g. 'admin' or 'manage_departments'
OnNoPermission()
Returns true
Executed when user has no permission to do something. Can e.g. contain a redirect to a login page.
GetUserDisplayName($userid)
Returns 'SYSTEM' if userid==0. Has to be modified return the full name (or initials).
GetUserID()
Returns the userid of the current logged in user.
This is fixed in the development release. Functions like "is_logged_in()" and session variables like "$_SESSION['rank']" are replaced by functions in custom_ functions. php. That way, users (sysops) can edit custom_ functions. php to match their current environment.
Current custom_functions: $type) departments'
HasPermission(
Returns boolean.
$type can be e.g. 'admin' or 'manage_
OnNoPermission()
Returns true
Executed when user has no permission to do something. Can e.g. contain a redirect to a login page.
GetUserDisplayN ame($userid)
Returns 'SYSTEM' if userid==0. Has to be modified return the full name (or initials).
GetUserID()
Returns the userid of the current logged in user.