forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsaml.php
More file actions
23 lines (18 loc) · 630 Bytes
/
Copy pathsaml.php
File metadata and controls
23 lines (18 loc) · 630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
/**
* @author Michael Jansen <mjansen@databay.de>
*/
global $DIC;
if (!file_exists(getcwd() . '/ilias.ini.php')) {
header('Location: ./setup/setup.php');
exit();
}
require_once 'Services/Context/classes/class.ilContext.php';
ilContext::init(ilContext::CONTEXT_SAML);
require_once 'Services/Init/classes/class.ilInitialisation.php';
ilInitialisation::initILIAS();
$DIC->ctrl()->initBaseClass('ilStartUpGUI');
$DIC->ctrl()->setCmd('doSamlAuthentication');
$DIC->ctrl()->setTargetScript('ilias.php');
$DIC->ctrl()->callBaseClass();