Updated CodeCorner1 (markdown)

leithoff 2016-05-31 16:21:58 +02:00
parent 98c9c1b570
commit 7457923ee3

@ -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();
```