ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
sessioncheck.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22use ILIAS\Data\Factory as DataFactory;
23
24if (!file_exists('../ilias.ini.php')) {
25 die('The ILIAS setup is not completed. Please run the setup routine.');
26}
27
28require_once '../vendor/composer/vendor/autoload.php';
30
31require_once __DIR__ . '/../artifacts/bootstrap_default.php';
32entry_point('ILIAS Legacy Initialisation Adapter');
33
35$DIC->http()->saveResponse(
36 (
38 $DIC->http(),
39 $DIC->refinery(),
40 $DIC->language(),
41 $DIC->database(),
42 $DIC['ilClientIniFile'],
43 $DIC->logger()->auth(),
44 (new DataFactory())->clock()->utc(),
45 $DIC->settings(),
46 TokenCipher::fromKeyFile()
47 )
48 )->handle()
49);
50$DIC->http()->sendResponse();
51$DIC->http()->close();
Encodes the opaque token the session reminder sends to sessioncheck.php.
Definition: TokenCipher.php:37
Builds data types.
Definition: Factory.php:36
const CONTEXT_SESSION_REMINDER
Definition: ilContext.php:38
static init(string $a_type)
Init context by type.
Definition: ilContext.php:52
entry_point(string $name)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: result1.php:21
global $DIC
Definition: shib_login.php:26