ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilias.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
15 require_once "./include/inc.header.php";
16 
17 /*function myErrorHandler($errno, $errstr, $errfile, $errline)
18 {
19  global $ilCtrl;
20 echo "<br>".$errstr;
21  switch ($errno)
22  {
23  case E_USER_ERROR:
24  case E_USER_WARNING:
25  echo "<b>My ERROR</b> [$errno] $errstr<br />\n";
26  echo " Fatal error on line $errline in file $errfile";
27  echo ", PHP " . PHP_VERSION . " (" . PHP_OS . ")<br />\n";
28  echo "Aborting...<br />\n";
29  exit(1);
30  break;
31  }
32  return false;
33 }
34 $old_error_handler = set_error_handler("myErrorHandler");*/
35 
36 global $ilCtrl, $ilBench, $ilLog;
37 
38 $ilCtrl->setTargetScript("ilias.php");
39 $ilCtrl->callBaseClass();
40 $ilBench->save();
41 ?>