forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
executable file
·30 lines (24 loc) · 685 Bytes
/
login.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
/**
* login script for ilias
*
* @author Sascha Hofmann <[email protected]>
* @author Peter Gabriel <[email protected]>
* @version $Id$
*
* @package ilias-layout
*/
// jump to setup if ILIAS3 is not installed
if (!file_exists(getcwd() . "/ilias.ini.php")) {
header("Location: ./setup/setup.php");
exit();
}
require_once("Services/Init/classes/class.ilInitialisation.php");
ilInitialisation::initILIAS();
$ilCtrl->initBaseClass("ilStartUpGUI");
$ilCtrl->setCmd('showLoginPageOrStartupPage');
$ilCtrl->setTargetScript("ilias.php");
$ilCtrl->callBaseClass();
$ilBench->save();
exit;