12 if(!file_exists(getcwd().
'/ilias.ini.php'))
14 header(
'Location: ./setup/setup.php');
22 $cookie_domain = $_SERVER[
'SERVER_NAME'];
23 $cookie_path = dirname( $_SERVER[
'PHP_SELF'] );
30 $cookie_path .= (!preg_match(
"/[\/|\\\\]$/", $cookie_path)) ?
"/" :
"";
32 if($cookie_path ==
"\\") $cookie_path =
'/';
36 setcookie(
"ilClientId",
$_GET[
"client_id"], 0, $cookie_path, $cookie_domain);
41 require_once(
"Services/Init/classes/class.ilInitialisation.php");
44 $ilCtrl->initBaseClass(
'ilStartUpGUI');
45 $ilCtrl->setCmd(
'confirmRegistration');
46 $ilCtrl->setTargetScript(
'ilias.php');