array( 'currentapp' => $appName, 'noheader' => True, 'disable_Template_class' => True, 'autocreate_session_callback' => 'xajax_redirect', 'no_exception_handler' => true, // we already installed our own 'no_dla_update' => $appName == 'notifications', // otherwise session never time out ) ); include('./header.inc.php'); //Create a new json handler $json = new egw_json_request(); //Check whether the request data is set $json->parseRequest($_GET['menuaction'], (array)$_POST['json_data']); exit; } throw new Exception($_SERVER['PHP_SELF'] . "Invalid AJAX JSON Request");