*/ /** * Code */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; require_once 'back_compat.inc.php'; require_once 'learnpath.class.php'; require '../inc/lib/xajax/xajax.inc.php'; $xajax = new xajax(api_get_path(WEB_CODE_PATH).'newscorm/lp_comm.server.php'); $xajax->registerFunction('save_item'); $xajax->registerFunction('save_objectives'); $xajax->registerFunction('switch_item_details'); $xajax->registerFunction('backup_item_details'); $xajax->registerFunction('start_timer');