ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
raiseError.php
Go to the documentation of this file.
1
<?php
2
19
chdir(
"./../../../"
);
20
$ini
=
new
ilIniFile
(
"ilias.ini.php"
);
21
$ini
->read();
22
23
$http
=
$ini
->readVariable(
"server"
,
"http_path"
);
24
$http
= preg_replace(
"/^(https:\/\/)|(http:\/\/)+/"
,
""
,
$http
);
25
26
$_SERVER
[
'HTTP_HOST'
] =
$http
;
27
$_SERVER
[
'REQUEST_URI'
] =
""
;
28
29
ilInitialisation::initILIAS
();
30
31
global
$DIC
;
32
33
$ilErr
=
$DIC
[
'ilErr'
];
34
35
$ilErr
->raiseError(
"This is your error message"
,
$ilErr
->FATAL);
ilIniFile
INIFile Parser Early access in init proceess! Avoid further dependencies like logging or other servic...
Definition:
class.ilIniFile.php:48
ilInitialisation\initILIAS
static initILIAS()
ilias initialisation
Definition:
class.ilInitialisation.php:1144
$DIC
global $DIC
Definition:
raiseError.php:31
$_SERVER
$_SERVER['HTTP_HOST']
Definition:
raiseError.php:26
$http
$http
Definition:
raiseError.php:23
$ini
$ini
Definition:
raiseError.php:20
$ilErr
$ilErr
Definition:
raiseError.php:33
components
ILIAS
Logging
Testrail
raiseError.php
Generated on Sat Oct 18 2025 23:03:22 for ILIAS by
1.9.4 (using
Doxyfile
)