5 define(
'IL_CERT_SSO',
true);
6 define(
'IL_COOKIE_PATH',
$_REQUEST[
'cookie_path']);
8 define(
'ILIAS_HTTP_PATH',
$_REQUEST[
'ilias_path']);
10 include_once
'./Services/Authentication/classes/class.ilAuthUtils.php';
16 require_once
"include/inc.header.php";
22 $path = ILIAS_DATA_DIR .
'/' . CLIENT_ID .
'/apache_auth_allowed_domains.txt';
25 foreach(file(
$path) as $line)
49 if( substr(
$redirectDomain, (0 - strlen($validDomain) - 1)) ===
'.'. $validDomain)
59 die(
'The redirect target "'.
$redirect.
'" is not in the list of allowed domains.');
67 if ((defined(
'APACHE_ERRORCODE') && APACHE_ERRORCODE) || (!
$ilUser ||
$ilUser->getId() == ANONYMOUS_USER_ID || !
$ilUser->getId()))
static setContext($a_context)
set context
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
if(file_exists($path) &&is_readable($path)) $P