Program is still not independent
Bug #268040 reported by
Sense Egbert Hofstede
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eduntius |
Confirmed
|
Undecided
|
Dirk Dokter |
Bug Description
The program is not suitable for different systems yet. Things like 'include "D:\\functions.
Someone should look for these things and fix them.
To post a comment you must log in.
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.