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
'include/inc.header.php';
43 $ilCtrl->initBaseClass(
'ilStartUpGUI');
44 $ilCtrl->setCmd(
'confirmRegistration');
45 $ilCtrl->setTargetScript(
'ilias.php');