33 require_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";
54 require_once
"./include/inc.header.php";
64 $requiredKeys=array(
"command",
"version",
"session_id");
65 if (count(array_diff ($requiredKeys, array_keys(array_change_key_case($HTTP_POST_VARS, CASE_LOWER))))==0)
72 $param=urldecode($HTTP_POST_VARS[
"session_id"]);
73 if (!empty($param) && substr_count($param,
"_")==3)
77 $_COOKIE[session_name()] = $session_id;
81 require_once
"./include/inc.header.php";
94 require_once
"./Modules/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php";
100 require_once
"./Modules/ScormAicc/classes/AICC/class.ilObjAICCTracking.php";
106 require_once
"./Modules/ScormAicc/classes/HACP/class.ilObjHACPTracking.php";
112 $fp=fopen(
"./Modules/ScormAicc/log/scorm.log",
"a+");
113 fputs($fp,
"unknown type >$type< in sahs_server\n");
114 foreach ($HTTP_POST_VARS as $k=>$v)
115 fputs($fp,
"HTTP_POST_VARS[$k]=$v \n");