23 $cookie_domain = $_SERVER[
'SERVER_NAME'];
24 $cookie_path = dirname( $_SERVER[
'PHP_SELF'] );
31 $cookie_path .= (!preg_match(
"/[\/|\\\\]$/", $cookie_path)) ?
"/" :
"";
33 if($cookie_path ==
"\\") $cookie_path =
'/';
37 setcookie(
"ilClientId",
$_GET[
"client_id"], 0, $cookie_path, $cookie_domain);
42 require_once
"./include/inc.header.php";
45 require_once
"./Services/Navigation/classes/class.ilNavigationHistoryGUI.php";
53 if (is_object($ilPluginAdmin))
56 $pl_names = $ilPluginAdmin->getActivePluginsForSlot(
IL_COMP_SERVICE,
"UIComponent",
"uihk");
59 foreach ($pl_names as $pl)
62 $gui_class = $ui_plugin->getUIClassInstance();
63 $gui_class->gotoHook();
67 if(strpos(
$_GET[
'target'],
'purchasetypedemo') !==
false)
69 $_GET[
'purchasetype'] =
'demo';
70 $_GET[
'cmd'] =
'showDemoVersion';
71 $_GET[
'target'] = str_replace(
'purchasetypedemo',
'',
$_GET[
'target']);
73 else if(strpos(
$_GET[
'target'],
'purchasetypebuy') !==
false)
75 $_GET[
'purchasetype'] =
'buy';
76 $_GET[
'cmd'] =
'showDetails';
77 $_GET[
'target'] = str_replace(
'purchasetypebuy',
'',
$_GET[
'target']);
89 include_once
'./Services/Payment/classes/class.ilShopLinkBuilder.php';
104 include_once(
"Services/Init/classes/class.ilStartUpGUI.php");
121 require_once(
"./Modules/LearningModule/classes/class.ilLMPageObjectGUI.php");
127 require_once(
"./Modules/LearningModule/classes/class.ilStructureObjectGUI.php");
133 require_once(
"./Modules/Glossary/classes/class.ilGlossaryTermGUI.php");
140 require_once(
"./Modules/Glossary/classes/class.ilObjGlossaryGUI.php");
147 require_once(
"./Modules/LearningModule/classes/class.ilObjContentObjectGUI.php");
153 require_once(
"./Modules/HTMLLearningModule/classes/class.ilObjFileBasedLMGUI.php");
159 require_once(
"./Modules/Forum/classes/class.ilObjForumGUI.php");
167 require_once(
"./Modules/Exercise/classes/class.ilObjExerciseGUI.php");
173 require_once(
"./Modules/Test/classes/class.ilObjTestGUI.php");
179 require_once(
"./Modules/TestQuestionPool/classes/class.ilObjQuestionPoolGUI.php");
185 require_once(
"./Modules/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPoolGUI.php");
191 require_once(
"./Modules/Survey/classes/class.ilObjSurveyGUI.php");
192 if (array_key_exists(
"accesscode",
$_GET))
204 require_once(
"./Modules/WebResource/classes/class.ilObjLinkResourceGUI.php");
210 require_once(
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php");
216 require_once(
"./Modules/Category/classes/class.ilObjCategoryGUI.php");
222 require_once(
"Modules/Course/classes/class.ilObjCourseGUI.php");
228 require_once(
"./Modules/Group/classes/class.ilObjGroupGUI.php");
234 require_once(
"./Modules/Folder/classes/class.ilObjFolderGUI.php");
240 require_once(
"./Modules/File/classes/class.ilObjFileGUI.php");
246 require_once(
"./Modules/MediaCast/classes/class.ilObjMediaCastGUI.php");
252 require_once
'Modules/ILinc/classes/class.ilObjiLincCourseGUI.php';
258 require_once(
'./Modules/RootFolder/classes/class.ilObjRootFolderGUI.php');
264 require_once(
'./Services/Certificate/classes/class.ilCertificate.php');
274 $class_name =
"ilObj".$objDefinition->getClassName(
$target_type).
"GUI";
276 if (is_file(
$location.
"/class.".$class_name.
".php"))
278 include_once(
$location.
"/class.".$class_name.
".php");
279 call_user_func(array($class_name,
"_goto"),
$rest);
284 $class_name =
"ilObj".$objDefinition->getClassName(
$target_type).
"GUI";
286 if (is_file(
$location.
"/class.".$class_name.
".php"))
288 include_once(
$location.
"/class.".$class_name.
".php");
289 call_user_func(array($class_name,
"_goto"), array(
$rest, $class_name));