ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
error.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once "include/inc.header.php";
5 $tpl->addBlockFile("CONTENT", "content", "tpl.error.html");
6 
7 $tpl->setCurrentBlock("content");
8 $tpl->setVariable("ERROR_MESSAGE",($_SESSION["failure"]));
9 $tpl->setVariable("SRC_IMAGE", ilUtil::getImagePath("mess_failure.gif"));
10 $tpl->parseCurrentBlock();
11 
12 session_unregister("referer");
13 unset($_SESSION["message"]);
14 $tpl->show();
15 ?>