ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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
ilInitialisation::initILIAS
();
48
49
$ilCtrl->callBaseClass(ilStartUpGUI::class);
50
$ilBench->save();
ilInitialisation\initILIAS
static initILIAS()
ilias initialisation
Definition:
class.ilInitialisation.php:1153
$_SERVER
$_SERVER['HTTP_HOST']
Definition:
raiseError.php:10
ILIAS\UI\examples\Symbol\Glyph\Header\header
header()
expected output: > ILIAS shows the rendered Component.
Definition:
header.php:13
exit
exit
Definition:
zoneinfo_generator.php:3
components
ILIAS
Init
resources
index.php
Generated on Wed Sep 10 2025 15:15:48 for ILIAS by
1.8.13 (using
Doxyfile
)