5 require_once(
"Services/Init/classes/class.ilInitialisation.php");
7 $DIC->globalScreen()->tool()->context()->claim()->external();
9 $local_tpl->addBlockFile(
"CONTENT",
"content",
"tpl.error.html");
10 $lng->loadLanguageModule(
"error");
12 $nd = $tree->getNodeData(ROOT_FOLDER_ID);
22 $tpl->printToStdout();
23}
catch (Exception
$e) {
24 if (defined(
'DEVMODE') && DEVMODE) {
28 if (!(
$e instanceof \PDOException)) {
29 die(
$e->getMessage());
An exception for terminatinating execution or to throw for unit testing.
special template class to simplify handling of ITX/PEAR
static initILIAS()
ilias initialisation
static clear($a_var)
Unset a value.
static secureUrl($url)
Prepare secure href attribute.