mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
Small fix for constants used in this branch
This commit is contained in:
parent
92a4805448
commit
6be6611f92
@ -174,4 +174,4 @@
|
||||
{
|
||||
$GLOBALS['egw_info']['server']['xmlrpc_type'] = 'php';
|
||||
}
|
||||
include_once(EGW_API_INC.SEP.'class.xmlrpc_server_' . $GLOBALS['egw_info']['server']['xmlrpc_type'] . '.inc.php');
|
||||
include_once(PHPGW_API_INC.SEP.'class.xmlrpc_server_' . $GLOBALS['egw_info']['server']['xmlrpc_type'] . '.inc.php');
|
||||
|
@ -202,7 +202,7 @@
|
||||
case 'server':
|
||||
case 'phpgwapi':
|
||||
/* Server role functions only - api access */
|
||||
if($GLOBALS['egw']->acl->get_role() >= EGW_ACL_SERVER)
|
||||
if($GLOBALS['egw']->acl->get_role() >= PHPGW_ACL_SERVER)
|
||||
{
|
||||
$dmap = ExecMethod(sprintf('%s.%s.%s','phpgwapi',$class,'list_methods'),'xmlrpc');
|
||||
}
|
||||
@ -214,7 +214,7 @@
|
||||
break;
|
||||
default:
|
||||
/* User-level application access */
|
||||
if($GLOBALS['egw']->acl->check('run',EGW_ACL_READ,$app))
|
||||
if($GLOBALS['egw']->acl->check('run',PHPGW_ACL_READ,$app))
|
||||
{
|
||||
$dmap = ExecMethod(sprintf('',$app,$class,'list_methods'),'xmlrpc');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user