mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Tentatively move ACL defines outside of currentapp logic (so they work for xml/soap)
This commit is contained in:
parent
b4eacadef8
commit
47f3ea01eb
@ -507,6 +507,15 @@
|
||||
\****************************************************************************/
|
||||
define('SEP',filesystem_separator());
|
||||
|
||||
/*****************************************************************************\
|
||||
* ACL defines - moved here to work for xml-rpc/soap, also *
|
||||
\*****************************************************************************/
|
||||
define('PHPGW_ACL_READ',1);
|
||||
define('PHPGW_ACL_ADD',2);
|
||||
define('PHPGW_ACL_EDIT',4);
|
||||
define('PHPGW_ACL_DELETE',8);
|
||||
define('PHPGW_ACL_PRIVATE',16);
|
||||
|
||||
/****************************************************************************\
|
||||
* Stuff to use if logging in or logging out *
|
||||
\****************************************************************************/
|
||||
@ -545,13 +554,15 @@
|
||||
define('PHPGW_IMAGES', ExecMethod('phpgwapi.phpgw.common.get_image_path'));
|
||||
define('PHPGW_APP_IMAGES_DIR', ExecMethod('phpgwapi.phpgw.common.get_image_dir'));
|
||||
|
||||
// define('PHPGW_APP_IMAGES_DIR', $GLOBALS['phpgw']->common->get_image_dir());
|
||||
/* define('PHPGW_APP_IMAGES_DIR', $GLOBALS['phpgw']->common->get_image_dir()); */
|
||||
|
||||
/* Moved outside of this logic
|
||||
define('PHPGW_ACL_READ',1);
|
||||
define('PHPGW_ACL_ADD',2);
|
||||
define('PHPGW_ACL_EDIT',4);
|
||||
define('PHPGW_ACL_DELETE',8);
|
||||
define('PHPGW_ACL_PRIVATE',16);
|
||||
*/
|
||||
|
||||
/********* This sets the user variables *********/
|
||||
$GLOBALS['phpgw_info']['user']['private_dir'] = $GLOBALS['phpgw_info']['server']['files_dir']
|
||||
|
Loading…
Reference in New Issue
Block a user