ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
error.php
Go to the documentation of this file.
1
<?
php
2
try
{
3
chdir(
".."
);
4
define(
'IL_INITIAL_WD'
, getcwd());
5
if
(is_dir(
"./pear"
)) {
6
ini_set(
"include_path"
,
"./pear:"
. ini_get(
"include_path"
));
7
}
8
9
require_once
"./setup/include/inc.setup_header.php"
;
10
11
$tpl
=
new
ilTemplate
(
"tpl.error_page.html"
,
true
,
true
,
"setup"
);
12
13
if
(
$_SESSION
[
"ClientId"
] !=
""
) {
14
$tpl
->setCurrentBlock(
"client_setup"
);
15
$tpl
->setVariable(
"CLIENT_ID"
,
$_SESSION
[
"ClientId"
]);
16
$tpl
->parseCurrentBlock();
17
}
18
19
$tpl
->setVariable(
"PAGETITLE"
,
"Setup"
);
20
//$this->tpl->setVariable("LOCATION_STYLESHEET","./templates/blueshadow.css");
21
$tpl
->setVariable(
"LOCATION_STYLESHEET"
,
"../templates/default/delos.css"
);
22
$tpl
->setVariable(
"LOCATION_CONTENT_STYLESHEET"
,
"./css/setup.css"
);
23
$tpl
->setVariable(
"TXT_SETUP"
,
"ILIAS Setup"
);
24
25
$tpl
->setVariable(
"CONTENT"
,
'<div class="alert alert-danger" role="alert">'
.
$_SESSION
[
"failure"
] .
'</div>'
);
26
$tpl
->show();
27
}
catch
(
Exception
$e) {
28
if
(defined(
'DEVMODE'
) && DEVMODE) {
29
throw
$e;
30
}
31
32
die($e->getMessage());
33
}
$_SESSION
$_SESSION["AccountId"]
Definition:
cfg.phpunit.template.php:10
ilTemplate
special template class to simplify handling of ITX/PEAR
Definition:
class.ilTemplate.php:13
php
$tpl
$tpl
Definition:
error.php:11
Exception
setup
error.php
Generated on Thu Jan 16 2025 19:01:37 for ILIAS by
1.8.13 (using
Doxyfile
)