forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logout.php
executable file
·36 lines (31 loc) · 898 Bytes
/
logout.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
31
32
33
34
35
36
<?php
/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
*
* ILIAS is licensed with the GPL-3.0,
* see https://www.gnu.org/licenses/gpl-3.0.en.html
* You should have received a copy of said license along with the
* source code, too.
*
* If this is not the case or you just want to try ILIAS, you'll find
* us at:
* https://www.ilias.de
* https://github.com/ILIAS-eLearning
*
*********************************************************************/
/**
* logout script for ilias
*
* @author Sascha Hofmann <[email protected]>
* @version $Id$
*
* @package ilias-core
*/
require_once("Services/Init/classes/class.ilInitialisation.php");
require_once("libs/composer/vendor/autoload.php");
ilInitialisation::initILIAS();
$ilCtrl->setCmd('doLogout');
$ilCtrl->callBaseClass('ilStartUpGUI');
$ilBench->save();
exit;