6 require_once(
"Services/Init/classes/class.ilInitialisation.php");
8 $tpl->addBlockFile(
"CONTENT",
"content",
"tpl.error.html");
9 $lng->loadLanguageModule(
"error");
11 $nd = $tree->getNodeData(ROOT_FOLDER_ID);
13 $tpl->SetCurrentBlock(
"ErrorLink");
15 $tpl->SetVariable(
"LINK",
ilUtil::secureUrl(ILIAS_HTTP_PATH .
'/ilias.php?baseClass=ilRepositoryGUI&client_id=' . CLIENT_ID));
16 $tpl->ParseCurrentBlock();
18 $tpl->setCurrentBlock(
"content");
20 $tpl->setVariable(
"MESSAGE_HEADING",
$lng->txt(
'error_sry_error'));
30 if(
defined(
'DEVMODE') && DEVMODE)
35 if (!($e instanceof \PDOException)) {
36 die($e->getMessage());
An exception for terminatinating execution or to throw for unit testing.
static initILIAS()
ilias initialisation
static clear($a_var)
Unset a value.
static secureUrl($url)
Prepare secure href attribute.
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'