ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
start.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 
14 //require_once "./include/inc.header.php";
15 
16 require_once "./include/inc.header.php";
17 ilUtil::redirect("index.php");
18 
20 //include("index.php");
21 //exit;
22 
23 
24 global $ilBench, $ilCtrl;
25 
26 if ($_SESSION["AccountId"] == ANONYMOUS_USER_ID || !empty($_GET["ref_id"]))
27 {
28  if (empty($_GET["ref_id"]))
29  {
30  $_GET["ref_id"] = ROOT_FOLDER_ID;
31  }
32  $ilCtrl->initBaseClass("");
33  $ilCtrl->setCmd("frameset");
34  $start_script = "repository.php";
35 }
36 else
37 {
38  $ilCtrl->initBaseClass("ilPersonalDesktopGUI");
39  $start_script = "ilias.php";
40 }
41 
42 include($start_script);
43 
44 
45 ?>