Response data |
{
rc: '0,
msg: '',
data:{
uid: '', // logged user ID
grp: [], // logged user roles (groups)
name: '', // logged user name
country: '', // logged usert country code
logged: false, // logged off
remember: false, // don't remember
limit: false, // don't limit access control
admin: false, // not builtin admin
ip: 'client ip address', // http client ip address
lang: 'language code', // language, ex. 'eng'
lang_id: 'language id', // language id, ex. 'en'
lang_preferred_id: 'language id', // preferred language id, ex. 'en'
url: 'language url', // language url, ex. '/'
grp: ['logged-off'], // current roles
access: { // access control list
i: "1", r: { g: [], u: [] }, w: { g:[], u: [] }, e: { g: [], u: [] }, m: { g: [], u: [] }
},
access_inherit: { // access control inheritance
root: 1, r: { g: [], u: [] }, w: { g: [], u: [] }, e: { g: [], u: [] }, m: { g: [], u: [] }
},
root: 'real site root path',
root_config: 'relative config site root path',
files: 'real files path',
files_config: 'relative config files path',
files_not_local: 'master site relative config files path',
images: 'real images path',
images_config: 'relative config images path',
db_id: 'sqlite', // DB connector ID
db_type: 'sqlite', // DB type
db_srv: 'server address / path to DB file',
db_uid: '', // DB user ID
db_sch: '' // DB schema ID
}
}
|