diff --git a/CodeCorner1.md b/CodeCorner1.md index f018ada..7c0761e 100644 --- a/CodeCorner1.md +++ b/CodeCorner1.md @@ -98,13 +98,21 @@ $GLOBALS['egw_info'] = array('flags' => array( */ include('../header.inc.php'); -// display some debug content -// _debug_array($GLOBALS['egw_info']); -_debug_array($_REQUEST); - //Your content…. echo "Hello World!"; +// display some debug content +$userinfo=$GLOBALS['egw_info']['user']; +echo "we have a wole lot information about/for the user/session: \r\n"; +//_debug_array(array_keys($userinfo)); + +//_debug_array($GLOBALS['egw_info']); +unset($userinfo['preferences']);//the users effective preferences for all apps +unset($userinfo['memberships']);//the users effective memberships in groups +unset($userinfo['apps']);//the users effective / available apps +unset($userinfo['passwd']);//effective password for you. we dont want to show it here + _debug_array($userinfo); + //display the eGroupware footer common::egw_footer(); ```