ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
index.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
if
(!file_exists(
'../ilias.ini.php'
)) {
22
die(
'The ILIAS setup is not completed. Please run the setup routine.'
);
23
}
24
25
require_once
'../vendor/composer/vendor/autoload.php'
;
26
27
// BEGIN WebDAV: Block WebDAV Requests from Microsoft WebDAV MiniRedir client.
28
// We MUST block WebDAV requests on the root page of the Web-Server
29
// in order to make the "Microsoft WebDAV MiniRedir" client work with ILIAS
30
// WebDAV.
31
// Important: If this index.php page is NOT at the root of your Web-Server, you
32
// MUST create an index page at the root of your Web-Server with the same
33
// blocking behaviour. If you don't implement this, the "Microsoft WebDAV
34
// MiniRedir" client will not work with ILIAS.
35
// You can copy the file rootindex.php for this.
36
37
// Block WebDAV Requests from Microsoft WebDAV MiniRedir client.
38
if
(
$_SERVER
[
'REQUEST_METHOD'
] ===
'PROPFIND'
39
||
$_SERVER
[
'REQUEST_METHOD'
] ===
'OPTIONS'
) {
40
$status =
'404 Not Found'
;
41
header
(
"HTTP/1.1 $status"
);
42
header
(
"X-WebDAV-Status: $status"
,
true
);
43
exit
();
44
}
45
// END WebDAV: Block WebDAV Requests from Microsoft WebDAV MiniRedir client.
46
47
require_once __DIR__ .
'/../artifacts/bootstrap_default.php'
;
48
entry_point
(
'ILIAS Legacy Initialisation Adapter'
);
49
50
global
$DIC
;
51
$DIC->ctrl()->callBaseClass(ilStartUpGUI::class);
52
$DIC[
'ilBench'
]->save();
$DIC
global $DIC
Definition:
index.php:50
$_SERVER
$_SERVER['HTTP_HOST']
Definition:
raiseError.php:26
exit
exit
Definition:
dummy_client.php:21
ILIAS\UI\examples\Symbol\Glyph\Header\header
header()
expected output: > ILIAS shows the rendered Component.
Definition:
header.php:29
entry_point
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
components
ILIAS
Init
resources
index.php
Generated on Wed Sep 3 2025 23:03:15 for ILIAS by
1.8.13 (using
Doxyfile
)