ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
throwException.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
throw
new
Exception
(
"This is your error message"
);
$ini
$ini
Definition:
throwException.php:20
$_SERVER
$_SERVER['HTTP_HOST']
Definition:
throwException.php:26
ilInitialisation\initILIAS
static initILIAS()
ilias initialisation
Definition:
class.ilInitialisation.php:1145
$http
$http
Definition:
throwException.php:23
ilIniFile
Exception
components
ILIAS
Logging
Testrail
throwException.php
Generated on Wed Sep 3 2025 23:03:22 for ILIAS by
1.8.13 (using
Doxyfile
)