From 6be6611f921ab96c4471eeb3fd078f9688870074 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 18 Aug 2005 12:39:22 +0000 Subject: [PATCH] Small fix for constants used in this branch --- phpgwapi/inc/class.xmlrpc_server.inc.php | 2 +- phpgwapi/inc/class.xmlrpc_server_epi.inc.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.xmlrpc_server.inc.php b/phpgwapi/inc/class.xmlrpc_server.inc.php index 80540ea0bb..f5e9e8320d 100644 --- a/phpgwapi/inc/class.xmlrpc_server.inc.php +++ b/phpgwapi/inc/class.xmlrpc_server.inc.php @@ -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'); diff --git a/phpgwapi/inc/class.xmlrpc_server_epi.inc.php b/phpgwapi/inc/class.xmlrpc_server_epi.inc.php index 547f922d1e..b889b8a8af 100644 --- a/phpgwapi/inc/class.xmlrpc_server_epi.inc.php +++ b/phpgwapi/inc/class.xmlrpc_server_epi.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'); }