csrf token now default, groups improved
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
<?php
|
||||
|
||||
const USER_GROUP_DEFAULT = 1;
|
||||
const USER_GROUP_DEFAULT_NAME = "Default";
|
||||
const USER_GROUP_ADMIN = 2;
|
||||
const USER_GROUP_MODERATOR = 1;
|
||||
const USER_GROUP_MODERATOR_NAME = "Moderator";
|
||||
const USER_GROUP_SUPPORT = 2;
|
||||
const USER_GROUP_SUPPORT_NAME = "Support";
|
||||
const USER_GROUP_ADMIN = 3;
|
||||
const USER_GROUP_ADMIN_NAME = "Administrator";
|
||||
|
||||
function GroupName($index) {
|
||||
$groupNames = array(
|
||||
USER_GROUP_DEFAULT => USER_GROUP_DEFAULT_NAME,
|
||||
USER_GROUP_MODERATOR => USER_GROUP_MODERATOR_NAME,
|
||||
USER_GROUP_SUPPORT => USER_GROUP_SUPPORT_NAME,
|
||||
USER_GROUP_ADMIN => USER_GROUP_ADMIN_NAME,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user