Small fix for constants used in this branch

This commit is contained in:
Miles Lott 2005-08-18 12:39:22 +00:00
parent 92a4805448
commit 6be6611f92
2 changed files with 3 additions and 3 deletions

View File

@ -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');

View File

@ -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');
}